Re: Rijndael encryption - can I supply my own encryption key?



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" <postonly@xxxxxxxxxxxx> wrote in message
news:%236qieP$4HHA.5164@xxxxxxxxxxxxxxxxxxxxxxx
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



.



Relevant Pages

  • Re: No ASP.NET in express edition ?
    ... John Timney (MVP) wrote: ... the environment your working in is one thats techncially disconnected at ... They layout and design was indeed edited by hand. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: No ASP.NET in express edition ?
    ... John Timney (MVP) wrote: ... it uses c# if thats your preferred language at least. ... the environment your working in is one thats techncially disconnected at the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Textbox array
    ... "John Timney (ASP.NET MVP)" wrote: ... >> How do I create an array of Textbox at runtime? ...
    (microsoft.public.dotnet.general)
  • Re: How to Read SMS in C#?!
    ... off the shelf gateway but it does indeed work. ... John Timney (MVP) ... thats done via an SMS gateway like nowSMS or web based provider. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is it possible to open a new browser not using javascript
    ... code if thats what your trying to find out. ... John Timney (MVP) ... Is it possible to open a new browser window which is not using javascript. ...
    (microsoft.public.dotnet.framework.aspnet)