MCPcopy Create free account
hub / github.com/Effect-TS/effect / AeadKey

Function AeadKey

packages/effect/src/Schema.ts:14661–14662  ·  view source on GitHub ↗
(algorithm: A)

Source from the content-addressed store, hash-verified

14659 * @since 4.0.0
14660 */
14661export const AeadKey = <A extends Aead_.Algorithm>(algorithm: A): AeadKey<A> =>
14662 declareCryptoKey<Aead_.Key<A>>("AeadKey", "Aead", "Key", Aead_.isKey, algorithm)
14663
14664/**
14665 * Schema that decodes raw key bytes into an `Aead.Key`.

Callers 2

AeadKeyFromBytesFunction · 0.70
AeadKeyFromFormatFunction · 0.70

Calls 1

declareCryptoKeyFunction · 0.85

Tested by

no test coverage detected