UNPKG

tweetnacl-ts

Version:

Port of TweetNaCl cryptographic library to TypeScript (and ES6)

12 lines 378 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var array_1 = require("./array"); var random_1 = require("./server/random"); exports._randomBytes = random_1._randomBytes; function randomBytes(n) { var b = array_1.ByteArray(n); random_1._randomBytes(b, n); return b; } exports.randomBytes = randomBytes; //# sourceMappingURL=random.js.map