??Difference Between utf8encoder.GetBytes and Encoding.ASCII.GetBytes
From: Phil C. (charlestek_at_rcn.com)
Date: 02/24/05
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: ??Difference Between utf8encoder.GetBytes and Encoding.ASCII.GetBytes"
- Previous message: IPGrunt: "Re: BIG WARNING - validation controls appear to be ignored."
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: ??Difference Between utf8encoder.GetBytes and Encoding.ASCII.GetBytes"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: ??Difference Between utf8encoder.GetBytes and Encoding.ASCII.GetBytes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 24 Feb 2005 12:20:56 -0500
Hi. (Using VB.Net) I have a symmetric encryption key stored as text,
encrytped by DPAPI in my web config that I use a handler
class to decrypt by the DPAPI and pass to the class that does the
encryption/decryption.
The decrypted DPAPI key is a string and needs to be converted to a byte
array for use by the encryption/decryption class. I'm confused as to the
difference using utf8encoder.GetBytes() or Encoding.ASCII.GetBytes() to do
this.
Thanks,
Phil
Boston, MA
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: ??Difference Between utf8encoder.GetBytes and Encoding.ASCII.GetBytes"
- Previous message: IPGrunt: "Re: BIG WARNING - validation controls appear to be ignored."
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: ??Difference Between utf8encoder.GetBytes and Encoding.ASCII.GetBytes"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: ??Difference Between utf8encoder.GetBytes and Encoding.ASCII.GetBytes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|