tweetnacl-ts
Version:
Port of TweetNaCl cryptographic library to TypeScript (and ES6)
5 lines (4 loc) • 298 B
TypeScript
import { ByteArray } from './array';
export declare function _verify_16(x: ByteArray, xi: number, y: ByteArray, yi: number): number;
export declare function _verify_32(x: ByteArray, xi: number, y: ByteArray, yi: number): number;
export declare function verify(x: ByteArray, y: ByteArray): boolean;