[Haskell-cafe] Re: Crypto-API is stabilizing

Sebastian Fischer sebf at informatik.uni-kiel.de
Thu Sep 2 18:16:21 EDT 2010


On Sep 3, 2010, at 12:07 AM, Sebastian Fischer wrote:

> Why not use
>
>    generateKeypair :: MonadRandom m => BitLength -> m (Maybe (p,p))

Or if the choice to generate keys or not should solely depend on the  
BitLength (and not on the random generator):

     generateKeypair :: MonadRandom m => BitLength -> Maybe (m (p,p))



-- 
Underestimating the novelty of the future is a time-honored tradition.
(D.G.)



_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Libraries mailing list