createCipher(core: CipherCoreFn,opts: CipherOpts,): XorStream
Creates ARX-like (ChaCha, Salsa) cipher stream from core function.
core: CipherCoreFn
opts: CipherOpts
Audited & minimal JS implementation of Salsa20, ChaCha and AES
createCipher(core: CipherCoreFn,opts: CipherOpts,): XorStream
Creates ARX-like (ChaCha, Salsa) cipher stream from core function.
core: CipherCoreFn
opts: CipherOpts
Add Package
deno add jsr:@noble/ciphers
Import symbol
import { createCipher } from "@noble/ciphers/_arx";
---- OR ----
Import directly with a jsr specifier
import { createCipher } from "jsr:@noble/ciphers/_arx";
Add Package
npx jsr add @noble/ciphers
Import symbol
import { createCipher } from "@noble/ciphers/_arx";
Add Package
yarn dlx jsr add @noble/ciphers
Import symbol
import { createCipher } from "@noble/ciphers/_arx";
Add Package
pnpm dlx jsr add @noble/ciphers
Import symbol
import { createCipher } from "@noble/ciphers/_arx";
Add Package
bunx jsr add @noble/ciphers
Import symbol
import { createCipher } from "@noble/ciphers/_arx";