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

Support streaming AES CTR/GCM encryption/decryption #45

Open
xalanq opened this issue Nov 15, 2024 · 1 comment
Open

Support streaming AES CTR/GCM encryption/decryption #45

xalanq opened this issue Nov 15, 2024 · 1 comment

Comments

@xalanq
Copy link

xalanq commented Nov 15, 2024

If AES CTR/GCM mode can support the following streaming types, it would be very helpful to encrypt and decrypt large files without a lot of memory. Thanks!

export type Cipher = {
  update: (data: Uint8Array) => Uint8Array;
  final: () => Uint8Array;
};

export type Decipher = Cipher;
@paulmillr
Copy link
Owner

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