Re: Encrypt to readable text
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 07/22/04
- Previous message: Jon Skeet [C# MVP]: "Re: Encrypt to readable text"
- In reply to: Jon Skeet [C# MVP]: "Re: Encrypt to readable text"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 22 Jul 2004 11:04:59 -0500
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.
"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1b69d5875831309298af6d@msnews.microsoft.com...
> Logan McKinley <logan@globalweb.net> wrote:
> > 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.
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too
- Previous message: Jon Skeet [C# MVP]: "Re: Encrypt to readable text"
- In reply to: Jon Skeet [C# MVP]: "Re: Encrypt to readable text"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|