public function turnHexKeyToBin()
    {
        if (!ctype_xdigit($this->secret)) {
            throw new InvalidSecretKeyException(sprintf('The secret key "%s" is not a hex key', $this->secret));
        }

        $this->secret = hex2bin($this->secret);
    }