Checksum mismatch at 0 of 20

1,461 views
Skip to first unread message

asd

unread,
Feb 18, 2011, 5:17:30 AM2/18/11
to DidiSoft Forum
while signAndEncrypt i face error "Checksum mismatch at 0 of 20"
String plainText = "Hello World";
PGPLib pgp = new PGPLib();
encryptedAndSignedString =
pgp.SignAndEncryptString(plainText,
new FileInfo(@"D:\doc\Fuji
\FujiPrivateKeyString.key"),
"changeit",
new FileInfo(@"D:\doc
\SpendVision\SpendVisionPublicKeyString.key"));

Atanas Krachev

unread,
Feb 18, 2011, 6:42:48 AM2/18/11
to didisof...@googlegroups.com
Hello Ananga,

The reason for this exception is that the password for your private key (FujiPrivateKeyString.key) is misspelled.

Myabe my mistake you forget to change the one that we use in our examples which is "changeit"
like in the code snippet above. 

Please verify that this is the correct password for this key.
Reply all
Reply to author
Forward
0 new messages