UNPKG

@mytiki/tiki-sdk-js

Version:

JS SDK for client-side integration with TIKI

6 lines (5 loc) 453 B
export declare const create: (keyId: string, overwrite?: boolean) => Promise<void>; export declare const get: (keyId: string, publik?: boolean) => Promise<string>; export declare const add: (keyId: string, key: string, publik?: boolean) => Promise<void>; export declare const sign: (keyId: string, message: Uint8Array) => Promise<Uint8Array>; export declare const verify: (keyId: string, message: Uint8Array, signature: Uint8Array) => Promise<boolean>;