defaults library
Default parameters and values used.
Constants
- defaultHashFunctionChoice → const HashFunctionChoice
- Default hash function choice for SRP operations.
- defaultKdfChoice → const KdfChoice
- Default key derivation function (KDF) choice for password-based key derivation.
- defaultSaltByteLengthForSaltedVerificationKey → const int
- Default salt length for salted verification keys (32 bytes / 256 bits).
Properties
- defaultGenerator → BigInt
-
Default generator for SRP group operations.
final
- defaultSafePrime → BigInt
-
Default 2048-bit safe prime for SRP operations.
final
Functions
-
deriveOptimalByteLengthForEphemeralKeys(
int safePrimeBitLength) → int - Derives the optimal byte length for ephemeral keys based on safe prime size.