@noble/ciphers

v0.1.2
Auditable & minimal JS implementation of AES SIV, Salsa20 and ChaCha20
cryptography crypto noble cipher ciphers aes gcm siv salsa20 and 7 more...

lint

prettier --check 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'

test

node test/index.js

bench

node benchmark/index.js noble

build

npm run build:clean; tsc && tsc -p tsconfig.esm.json

format

prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'

bench:all

node benchmark/index.js

build:clean

rm *.{js,d.ts,js.map,d.ts.map} esm/*.{js,js.map,d.ts.map} webcrypto esm/webcrypto 2> /dev/null

bench:install

cd benchmark && npm install && cd ../../

build:release

cd build; npm i; npm run build
npm i @noble/[email protected]

Metadata

  • MIT
  • Whatever
  • Paul Miller
  • released 6/28/2023

Downloads

Maintainers