UNPKG

@nightnetwork/obscura

Version:
16 lines (15 loc) 397 B
declare class Obscura { private keyHash; private map; private inverseMap; private master; private passphrase; private idb; constructor(passphrase: string); init(): Promise<void>; static genPassphrase(len?: number): string; encode(input: string): Promise<string>; decode(finalUuid: string): Promise<string>; } export default Obscura; export { Obscura };