UNPKG

cdk-encrypted-secret

Version:

CDK Construct that creates an AWS Secret Manager Secret and sets the value from an encrypted Ciphertext.

13 lines (12 loc) 373 B
/** * Converts a hexadecimal encoded string to a Uint8Array of bytes. * * @param encoded The hexadecimal encoded string */ export declare function fromHex(encoded: string): Uint8Array; /** * Converts a Uint8Array of binary data to a hexadecimal encoded string. * * @param bytes The binary data to encode */ export declare function toHex(bytes: Uint8Array): string;