Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming, ByteArray or conduit interface for large payloads #45

Open
hce opened this issue Mar 19, 2018 · 2 comments
Open

Streaming, ByteArray or conduit interface for large payloads #45

hce opened this issue Mar 19, 2018 · 2 comments

Comments

@hce
Copy link
Contributor

hce commented Mar 19, 2018

Currently only strict ByteStrings are supported. For large payloads, a conduit interface would be awesome. Alternatives include lazy ByteStrings (which are somewhat deprecated afaict) or the more generic ByteArray(Access) interface that supports various sources of bytes.

@hce
Copy link
Contributor Author

hce commented Mar 20, 2018

Also, It'd be nice to have lazy bytestrings instead of strict ones for the stream and xor functions at https://hackage.haskell.org/package/saltine-0.1.0.0/docs/Crypto-Saltine-Core-Stream.html#v:stream =)

@linearray
Copy link
Collaborator

Currently only strict ByteStrings are supported. For large payloads, a conduit interface would be awesome. Alternatives include lazy ByteStrings (which are somewhat deprecated afaict) or the more generic ByteArray(Access) interface that supports various sources of bytes.

Can you elaborate and explain in which modules or functions you would primarily want to use that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants