[Haskell-cafe] How to use an crypto with hackage cereal?

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Thu Apr 23 08:58:15 UTC 2015


On Tue, Apr 21, 2015 at 09:58:42PM +0800, Magicloud Magiclouds wrote:
> Thank you. But how if the cipher was specified outside the binary data? I
> mean I need to pass the decrypt/encrypt function to get/put while they do
> not accept parameters. Should I use Reader here?

I think the crux of the problem is that you are trying to use the Serialize
typeclass.  Don't.  Just write functions.

Tom



More information about the Haskell-Cafe mailing list