[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bouncycastle-crypto-dev
Subject:    Re: [dev-crypto] RE: DECRYPT PROBLEM WITH LEADING NON-READABLE
From:       David Hook <dgh () lockboxlabs ! com>
Date:       2008-10-27 0:13:08
Message-ID: 1225066388.4076.19.camel () echidna
[Download RAW message or body]


The originating encryption is probably using PKCS#1 padding.

Regards,

David

On Tue, 2004-12-28 at 15:15 -0500, Wang, John wrote:
> I'm using RSA algorithm and Public/private keys to encrypt and decrypt. However \
> after decryption, the string has a bunch of non-readable characters before the \
> original message. The resulting decrypted string is 127 chars, though the original \
> message is only 79 chars. Example: orig_message="hello world", decrypted \
> string="xxxxxxxxxxxx.... hello world" where the xxxxx are the non-readable chars.  
> I'm using jdk14, BC125.
> 
> What can be causing this?
> 
> -JW
> 
> 
> 
> 
> 
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic