UNPKG

tweetnacl-ts

Version:

Port of TweetNaCl cryptographic library to TypeScript (and ES6)

5 lines (4 loc) 257 B
import { ByteArray } from './array'; export declare function checkLengths(k: ByteArray, n: ByteArray): void; export declare function checkBoxLengths(pk: ByteArray, sk: ByteArray): void; export declare function checkArrayTypes(...arrays: ByteArray[]): void;