UNPKG

js-srp6a

Version:

A modern SRP implementation for Node.js / Bun and web browsers

6 lines (5 loc) 346 B
export declare const encodeUtf8: (input?: string) => Uint8Array; export declare const sanitizeHex: (hex: string) => string; export declare const bufferToHex: (buffer: ArrayBuffer) => string; export declare const hexToBuffer: (hex: string) => ArrayBuffer; export declare const constantTimeEqualHex: (leftHex: string, rightHex: string) => boolean;