
On 24.01 11:58, Ross Paterson wrote:
Can you point at some examples? I had a quick look, but couldn't find any uses of toChunks not preceded by concat. I would expect most of those examples to operate on substrings that might span chunk boundaries.
I am using toChunks for encryption and it is a very valuable tool. Basically the task is "process each chunk of this bytestring which might be >4gb in total".
- Einar Karttunen
Einar, I am re-writing some of the crypto library at the moment. Two questions: 1. Why not use lazy bytestrings for everything? 2. What encryption are you working on and could it supplement / replace code in the crypto library? Dominic.

On 27.01 10:38, Dominic Steinitz wrote:
I am re-writing some of the crypto library at the moment. Two questions:
I might be interested in helping - are you using something like BSD3 for the new parts - and is there a repo somewhere?
1. Why not use lazy bytestrings for everything?
Mostly I use them for nearly everything.
2. What encryption are you working on and could it supplement / replace code in the crypto library?
http://www.cs.helsinki.fi/u/ekarttun/hsgcrypt/hsgcrypt http://www.cs.helsinki.fi/u/ekarttun/hsopenpgp/hsopenpgp - Einar Karttunen
participants (2)
-
Dominic Steinitz
-
Einar Karttunen