On Tue, May 10, 2011 at 09:47, Johan Brinch <brin...@gmail.com> wrote:

> Stuff like xor'ing two bytestrings or generating a block of
> incremental IV's (for CTR mode)?

I don't particularly like the notion of XOR on a bytestring. The
bytestring is not a number and it does not make much sense to bitwise
xor such a string. I'd rather have a type specifically tailored for
doing crypto-style computations and then use it. Such that the
underlying implementation can be repa, bytestring,
supermegavectorizationistic, or something completely different.

-- 
J.

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

Reply via email to