UNPKG

@scirexs/srp6a

Version:

SRP-6a (Secure Remote Password) implementation in TypeScript for browser and server.

28 lines 1.42 kB
import type { SRPHashConfig, SRPSecurityGroup } from "./types.js"; /** 2048-bit group for encrypt strength. */ export declare const GROUP_2048: SRPSecurityGroup; /** 3072-bit group for encrypt strength. */ export declare const GROUP_3072: SRPSecurityGroup; /** 4096-bit group for encrypt strength. */ export declare const GROUP_4096: SRPSecurityGroup; /** 6144-bit group for encrypt strength. */ export declare const GROUP_6144: SRPSecurityGroup; /** 8192-bit group for encrypt strength. */ export declare const GROUP_8192: SRPSecurityGroup; /** 2048-bit group with preset of multiplier. */ export declare const GROUP_2048_FOR_SERVER: SRPSecurityGroup; /** 3072-bit group with preset of multiplier. */ export declare const GROUP_3072_FOR_SERVER: SRPSecurityGroup; /** 4096-bit group with preset of multiplier. */ export declare const GROUP_4096_FOR_SERVER: SRPSecurityGroup; /** 6144-bit group with preset of multiplier. */ export declare const GROUP_6144_FOR_SERVER: SRPSecurityGroup; /** 8192-bit group with preset of multiplier. */ export declare const GROUP_8192_FOR_SERVER: SRPSecurityGroup; /** SHA-256 hash algorithm of Web Crypto API. */ export declare const SHA_256: SRPHashConfig; /** SHA-384 hash algorithm of Web Crypto API. */ export declare const SHA_384: SRPHashConfig; /** SHA-512 hash algorithm of Web Crypto API. */ export declare const SHA_512: SRPHashConfig; //# sourceMappingURL=constants.d.ts.map