UNPKG

tweetnacl-ts

Version:

Port of TweetNaCl cryptographic library to TypeScript (and ES6)

5 lines (4 loc) 169 B
import { ByteArray } from './array'; import { _randomBytes } from './server/random'; export { _randomBytes }; export declare function randomBytes(n: number): ByteArray;