[Haskell-cafe] Re: Codec.Crypto.RSA question

Dominic Steinitz dominic at steinitz.org
Sat Nov 20 06:50:22 EST 2010


Charles-Pierre Astolfi <cpa <at> crans.org> writes:

> 
> Hi -cafe,
> 
> I have a question about Codec.Crypto.RSA: how to enforce that
> (informally) decrypt . encrypt = id
> Consider this code:
> 
That's certainly what I would expect and one of the unit tests  that comes with
http://hackage.haskell.org/packages/archive/Crypto/4.2.2/doc/html/Codec-Encryption-RSA.html
checks for this. I wasn't able to get you code to compile so I couldn't
investigate further. Maybe you could post a fully compiling example?



More information about the Haskell-Cafe mailing list