nanocurrency
Version:
A toolkit for the Nano cryptocurrency, allowing you to derive keys, generate seeds, hashes, signatures, proofs of work and blocks.
15 lines (14 loc) • 450 B
TypeScript
/**
* Encode provided Uint8Array using the Nano-specific Base-32 implementeation.
* @param view Input buffer formatted as a Uint8Array
* @returns
* @hidden
*/
export declare function encodeNanoBase32(view: Uint8Array): string;
/**
* Decodes a Nano-implementation Base32 encoded string into a Uint8Array
* @param input A Nano-Base32 encoded string
* @returns
* @hidden
*/
export declare function decodeNanoBase32(input: string): Uint8Array;