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

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Thu Apr 23 09:17:57 UTC 2015


Yes, I ended up writing my own FieldCryptoSerialize class.

On Thu, Apr 23, 2015 at 4:58 PM, Tom Ellis <
tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk> wrote:

> 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
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>



-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150423/70217598/attachment.html>


More information about the Haskell-Cafe mailing list