Browser-compatible implementation of Node.js crypto module providing cryptographic operations in web environments.
Overall
score
100%
A utility tool that reports available cryptographic algorithms in the browser environment.
@generates
/**
* Returns a sorted array of all available hash algorithm names.
*
* @returns {string[]} Array of hash algorithm names, sorted alphabetically
*/
function getAvailableHashes() {
// IMPLEMENTATION HERE
}
/**
* Returns a sorted array of all available cipher algorithm names.
*
* @returns {string[]} Array of cipher algorithm names, sorted alphabetically
*/
function getAvailableCiphers() {
// IMPLEMENTATION HERE
}
/**
* Checks if a hash algorithm is available.
*
* @param {string} algorithm - The hash algorithm name to check
* @returns {boolean} true if the algorithm is available, false otherwise
*/
function isHashSupported(algorithm) {
// IMPLEMENTATION HERE
}
/**
* Checks if a cipher algorithm is available.
*
* @param {string} algorithm - The cipher algorithm name to check
* @returns {boolean} true if the algorithm is available, false otherwise
*/
function isCipherSupported(algorithm) {
// IMPLEMENTATION HERE
}
module.exports = {
getAvailableHashes,
getAvailableCiphers,
isHashSupported,
isCipherSupported,
};Provides browser-compatible cryptographic functionality including algorithm discovery utilities.
Install with Tessl CLI
npx tessl i tessl/npm-crypto-browserifydocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10