@scirexs/srp6a
Version:
SRP-6a (Secure Remote Password) implementation in TypeScript for browser and server.
8 lines (7 loc) • 491 B
JavaScript
/**
* This module exports server side functions and types.
* @module
*/
import "../_dnt.polyfills.js";
export { addRandomDelay, authenticate, createDummyHello, createServerHello, extractClientHello, extractLoginEvidence, extractSignupCredentials, } from "./main.js";
export { CryptoNumber, getDefaultConfig, GROUP_2048_FOR_SERVER, GROUP_3072_FOR_SERVER, GROUP_4096_FOR_SERVER, GROUP_6144_FOR_SERVER, GROUP_8192_FOR_SERVER, SHA_256, SHA_384, SHA_512, SRPConfig, } from "../shared/mod.js";