By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,536 Members | 1,504 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,536 IT Pros & Developers. It's quick & easy.

Rijndael encryption - can I supply my own encryption key?

P: n/a
RJ
The 2.0 Framework SDK only has examples where the Rijndael class instance
provides the key. I've tried setting my own key value, making sure my key
length matches the KeySize property of my Rijndael instance. I always get
"invalid key". Am I misunderstanding the concept - if I don't set and keep
my own key, how will I be able to decrypt later? Any ideas or example would
be much appreciated.
RJ
Aug 21 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
If I remember correctly, the key needs to be a byte array - might want to
check thats what your providing.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"RJ" <po******@postonly.netwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
The 2.0 Framework SDK only has examples where the Rijndael class instance
provides the key. I've tried setting my own key value, making sure my key
length matches the KeySize property of my Rijndael instance. I always get
"invalid key". Am I misunderstanding the concept - if I don't set and
keep my own key, how will I be able to decrypt later? Any ideas or example
would be much appreciated.
RJ

Aug 21 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.