UNPKG

@coast-team/mute-crypto

Version:

Algorithm generating a cryptographic key for MUTE collaborative session

16 lines (15 loc) 544 B
interface Log { debug: (...args: any[]) => void; error: (...args: any[]) => void; } declare let log: Log; declare type Assert = (...args: any[]) => void; declare let assert: Assert; interface Perf { mark: (name: string) => void; measure: (name: string, startMark: string, endMark: string) => void; } declare let perf: Perf; declare function enableDebug(enable?: boolean, performanceLog?: boolean): void; export { assert, log, perf, enableDebug }; export declare function bytesToString(bytes: Uint8Array): string;