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

Function MacKey

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

Source from the content-addressed store, hash-verified

14567 * @since 4.0.0
14568 */
14569export const MacKey = <A extends Mac_.Algorithm>(algorithm: A): MacKey<A> =>
14570 declareCryptoKey<Mac_.Key<A>>("MacKey", "Mac", "Key", Mac_.isKey, algorithm)
14571
14572/**
14573 * Schema that decodes raw key bytes into a `Mac.Key`.

Callers 2

MacKeyFromBytesFunction · 0.70
MacKeyFromFormatFunction · 0.70

Calls 1

declareCryptoKeyFunction · 0.85

Tested by

no test coverage detected