Fix output of generated key

I was printing the raw ByteString, not the encoded form