Whether key is a a 32-byte hexadecimal string.
key
bool keyIsValid(String key) { return (isHexadecimal(key) && key.length == 64); }