Skip to content

Support chacha20-poly1305 in node:crypto #28411

@kigawas

Description

@kigawas

Deno just copied documents from node, which has chacha20-poly1305 in createCipheriv, but it only support these ciphers:

https://github.com/denoland/deno/blob/main/ext/node/ops/crypto/cipher.rs#L22

Since RustCrypto already has chacha20poly1305, it should be not too difficult to add it.

I'm happy to contribute to deno, I'll appreciate it if anyone can help me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cryptoRelated to node:crypto or WebCryptonode compat

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions