encrypted-keys: check hex2bin result