Crypto SDK
    Preparing search index...

    Interface KeyWrapResult

    Result of POST /v2/keys/wrap (AES-KW, RFC 3394, or AES-KWP, RFC 5649).

    const { data } = await client.keyWrap({ kek: hexKek, keyToWrap: hexKey });
    const result: KeyWrapResult = data;
    await client.keyUnwrap({ kek: hexKek, wrappedKey: result.wrapped });
    interface KeyWrapResult {
        wrapped: string;
        algorithm: KeyWrapAlgorithm;
    }
    Index
    wrapped: string

    Base64-encoded wrapped key.

    algorithm: KeyWrapAlgorithm

    Key-wrapping algorithm used.