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

Function KeyWrapKey

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

Source from the content-addressed store, hash-verified

15217 * @since 4.0.0
15218 */
15219export const KeyWrapKey = <A extends KeyWrap_.AesKw>(algorithm: A): KeyWrapKey<A> =>
15220 declareCryptoKey<KeyWrap_.Key<A>>("KeyWrapKey", "KeyWrap", "Key", KeyWrap_.isKey, algorithm)
15221
15222/**
15223 * Schema that decodes raw key bytes into an AES-KW `KeyWrap.Key`.

Callers 2

KeyWrapKeyFromBytesFunction · 0.70
KeyWrapKeyFromFormatFunction · 0.70

Calls 1

declareCryptoKeyFunction · 0.85

Tested by

no test coverage detected