UNPKG

tweetnacl-ts

Version:

Port of TweetNaCl cryptographic library to TypeScript (and ES6)

7 lines (6 loc) 229 B
import { ByteArray } from './array'; export declare const enum HashLength { Hash = 64 } export declare function hash(msg: ByteArray): ByteArray; export declare function _hash(out: ByteArray, m: ByteArray, n: number): number;