UNPKG

crypto-incognito

Version:

Crypto Incognito client-side library.

10 lines (9 loc) 599 B
declare namespace crypto_incognito { const create_privkey: () => Uint8Array; const pubkey_from_privkey: (pubkey: Uint8Array) => Uint8Array; const load_mG: (path: string) => Promise<number>; const selector_create: (pubkey: Uint8Array, index_counts: BigUint64Array, idx: number) => Promise<Uint8Array>; const selector_create_fast: (privkey: Uint8Array, index_counts: BigUint64Array, idx: number) => Promise<Uint8Array>; const reply_decrypt: (reply: Uint8Array, privkey: Uint8Array, dimension: number, packing: number) => Promise<Uint8Array>; } export default crypto_incognito;