UNPKG

@abdellatif.dev/cryptjs

Version:

A JavaScript/TypeScript library that brings cryptographic functionality from Dart to the web

16 lines (15 loc) 343 B
/** * @param {number | undefined} rounds rounds for hashing * @returns {number} a valid rounds */ export default function validateRounds(rounds: number | undefined): number; /** * @constant * @readonly * @type {{min: 1000; max: 99999; default: 5000}} */ export const roundsValues: { min: 1000; max: 99999; default: 5000; };