UNPKG

human-crypto-keys

Version:

Generate and import human-friendly cryptographic keys using mnemonics or seeds

10 lines (7 loc) 335 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.typedArrayToUint8Array = void 0; const typedArrayToUint8Array = typedArray => new Uint8Array(typedArray.buffer.slice(typedArray.byteOffset, typedArray.byteOffset + typedArray.byteLength)); exports.typedArrayToUint8Array = typedArrayToUint8Array;