Re: Crypto API using RC2 instead of RC4?
From: Valery Pryamikov (valery_at_harper.no)
Date: 11/24/05
- Next message: gf: "RE: Once again Vista logon (ICredentialProvider)"
- Previous message: Mick J.: "CSPs for WinCE"
- In reply to: Matt: "Re: Crypto API using RC2 instead of RC4?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 24 Nov 2005 12:42:04 +0100
if you store cipher in xml - you should encode result bin array with base64
after encryption (ie. binary-base64 xsd datatype or someting like that) and
base64 decode it in bytearray before decryption.
-Valery.
http://www.harper.no/valery
"Matt" <mtaylor@gladstonemrm.com> wrote in message
news:1132825237.775234.148260@g44g2000cwa.googlegroups.com...
> Ok, thanks Valery.
>
> I shall digest what you've written.
> You might be right about the use of srings to store the data being a
> problem.
> The original KB code used files so I adapted it to use strings as I
> want to use the encrypted data in some XML I'm sending to the .Net
> application.
>
> Thanks,
>
> Matt
>
- Next message: gf: "RE: Once again Vista logon (ICredentialProvider)"
- Previous message: Mick J.: "CSPs for WinCE"
- In reply to: Matt: "Re: Crypto API using RC2 instead of RC4?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|