Encrypt to readable text

  • Thread starter Thread starter Logan McKinley
  • Start date Start date
L

Logan McKinley

I want to encrypt something and use the result as a registration key in my
program, so it needs to be readable,but all of the encryption methods I have
tried return unreadable strings. I need an encryption method that limits
the result to chars that can be easily typed in via a standard keyboard.
Thanks in advance,
~Logan
 
Logan McKinley said:
I want to encrypt something and use the result as a registration key in my
program, so it needs to be readable,but all of the encryption methods I have
tried return unreadable strings. I need an encryption method that limits
the result to chars that can be easily typed in via a standard keyboard.

The most obvious answer is to encrypt it to normal binary data, and
then base64 encode it.
 
You could also hex encode the binary data if base64 is too unreadable
(although this will be even larger). The BitConverter class does an ok job
of this.

I agree with Jon though; Base64 is pretty standard for this.

Joe K.
 
Back
Top