string symmetricKeyString = @"base64encodedString";
byte[] symmetricKey = Convert.FromBase64String(symmetricKeyString);
SymmetricAlgorithm symmetricAlgorithm = new RijndaelManaged(); <- or
whatever
symmetricAlgorithm.Key = symmetricKey;
etc...
HTH
"Susan" <Su***@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
I'm trying to write a program in C# using .Nets crypto library. I have my
private key and know my password, but how do I load it into my program to
use
for encryption and decryption? Everything I had found so far, has had the
user generate one through .Net, but I have to be able to load my own.
Thank you,
Susan