P
Phil C.
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
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