UNPKG

@sebastianp265/safe-server-side-storage-client

Version:

Library for Confidential Server-Side Message Storage Using the Labyrinth Protocol

10 lines 563 B
export declare function random(numberOfBytes: number): Uint8Array<ArrayBufferLike>; export declare function cryptoAssert(expression: boolean): void; export declare class CryptoAssertionError extends Error { constructor(); } export declare function bytes_equal(a: Uint8Array, b: Uint8Array): boolean; export declare function concat(...arrays: Uint8Array[]): Uint8Array; export declare function asciiStringToBytes(ascii: string): Uint8Array<ArrayBuffer>; export declare function bytesToAsciiString(bytes: Uint8Array): string; //# sourceMappingURL=utils.d.ts.map