mkEncryption() function

Generate encryption parameters from from an encryption KeyID and Key, in the form KEYID:KEY, both 16byte hexadecimal

Signature:

export declare function mkEncryption(encryption: string | undefined): {
    encryptionKey: string;
    encryptionKeyId: string;
} | undefined;

Parameters

Parameter Type Description

encryption

string | undefined

Returns:

{ encryptionKey: string; encryptionKeyId: string; } | undefined