[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: private/public key support ?
- From: Valerio Schiavoni <valerio.schiavoni@...>
- Date: Wed, 17 Mar 2010 17:32:40 +0100
Works like a charm. Awesome !
On Wed, Mar 17, 2010 at 3:22 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> But this
>> http://codepad.org/JJcm3J5b
>> (which should reproduce the sha1-rsa library using bc) is not working
>> (the decrypted message is not the one I'm expecting to see).
>
> public, private and modulus are all numbers in hex. So you need to convert
> them to bc numbers but cannot use string2bc; you need hex2bc. You also seem
> to need bc2string. The complete program is attached and seems to work.
> (There was a small bug in string2bc.)
>
- References:
- Re: private/public key support ?, Valerio Schiavoni
- Re: private/public key support ?, Luiz Henrique de Figueiredo
- Re: private/public key support ?, Valerio Schiavoni
- Re: private/public key support ?, Luiz Henrique de Figueiredo
- Re: private/public key support ?, Valerio Schiavoni
- Re: private/public key support ?, Luiz Henrique de Figueiredo
- Re: private/public key support ?, Valerio Schiavoni
- Re: private/public key support ?, Luiz Henrique de Figueiredo
- Re: private/public key support ?, Valerio Schiavoni
- Re: private/public key support ?, Luiz Henrique de Figueiredo