mirror of
https://github.com/Effect-TS/effect.git
synced 2026-12-04 03:35:36 +08:00
20 lines
607 B
TypeScript
20 lines
607 B
TypeScript
/**
|
|
* Node.js layers for the `effect/crypto` modules.
|
|
*
|
|
* `layerDigest` and `layerMac` run on `node:crypto`, `layerKdf` adds Argon2id,
|
|
* `layerAead` runs ChaCha20-Poly1305 on `node:crypto`, and the other layers
|
|
* run the core WebCrypto layers, so that every crypto layer for a Node.js
|
|
* program comes from `NodeCrypto`. Each layer supplies its own `SecureRandom`.
|
|
* `layer` provides every family at once. `NodeServices` carries no crypto
|
|
* service.
|
|
*
|
|
* @stability unstable
|
|
* @since 1.0.0
|
|
*/
|
|
|
|
/**
|
|
* @stability unstable
|
|
* @since 1.0.0
|
|
*/
|
|
export * from "@effect/platform-node-shared/NodeCrypto"
|