RSACryptoServiceProvider questions
From: Daryn Kiely (anonymous_at_discussions.microsoft.com)
Date: 10/29/03
- Next message: Thomas Pornin: "Re: RSACryptoServiceProvider questions"
- Previous message: artj \(removethis\) trout_at_yahoo.com: "security access to cdrom/cdrw"
- Next in thread: Thomas Pornin: "Re: RSACryptoServiceProvider questions"
- Reply: Thomas Pornin: "Re: RSACryptoServiceProvider questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 28 Oct 2003 23:40:24 -0800
I have 2 questions regarding the RSACryptoServiceProvider
class:
1) Why is it that if I try to encrypt something that is
longer than 117 bytes I get an cryptographic exception
with an invalid length? My key is 1024 bits, so I would
expect to be able to use a block size of 128 bytes (ok, I
must be missing something here, but what????).
2) What does a Cryptograhic exception with the
message "Bad Data" really mean? I have not been able to
find any documentation anywhere and have been getting
this regularly when trying to decrypt a message. I am
just a little frustrated!!!
Thanks in advance.
Daryn Kiely
- Next message: Thomas Pornin: "Re: RSACryptoServiceProvider questions"
- Previous message: artj \(removethis\) trout_at_yahoo.com: "security access to cdrom/cdrw"
- Next in thread: Thomas Pornin: "Re: RSACryptoServiceProvider questions"
- Reply: Thomas Pornin: "Re: RSACryptoServiceProvider questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|