Juan Lang : rsaenh: Only set key length on successful retrieval of hash value.