CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-crypto-browserify

Browser-compatible implementation of Node.js crypto module providing cryptographic operations in web environments.

Overall
score

100%

Overview
Eval results
Files

Evaluation results

100%

Secure Message Exchange System

Dual-Direction RSA Encryption (confidentiality and authenticity patterns)

Criteria
Without context
With context

publicEncrypt usage

100%

100%

privateDecrypt usage

100%

100%

privateEncrypt usage

100%

100%

publicDecrypt usage

100%

100%

100%

Document Signature Generator

Digital Signatures (createSign, Sign)

Criteria
Without context
With context

Uses createSign

100%

100%

Uses update method

100%

100%

Uses sign method

100%

100%

Handles output encoding

100%

100%

Implements streaming correctly

100%

100%

100%

File Integrity Checker

Hashing (createHash, Hash, getHashes)

Criteria
Without context
With context

createHash usage

100%

100%

Hash update method

100%

100%

Hash digest method

100%

100%

getHashes function

100%

100%

Incremental hashing

100%

100%

Proper algorithm names

100%

100%

100%

Password-Based Encryption Key Generator

Key Derivation - PBKDF2 (pbkdf2, pbkdf2Sync)

Criteria
Without context
With context

Uses pbkdf2Sync

100%

100%

Uses pbkdf2

100%

100%

Proper parameter passing

100%

100%

Callback handling

100%

100%

Returns Buffer

100%

100%

100%

Secure Key Exchange System

Elliptic Curve Diffie-Hellman - ECDH (createECDH)

Criteria
Without context
With context

ECDH Instance Creation

100%

100%

Key Pair Generation

100%

100%

Public Key Export

100%

100%

Shared Secret Computation

100%

100%

Private Key Export

100%

100%

Private Key Import

100%

100%

100%

Secure Key Exchange Service

Predefined Diffie-Hellman Groups (MODP groups from RFC 2409 and RFC 3526)

Criteria
Without context
With context

Uses predefined groups

100%

100%

Generates key pairs

100%

100%

Retrieves public keys

100%

100%

Computes shared secret

100%

100%

Handles multiple groups

100%

100%

100%

Software License Verification System

Signature Verification (createVerify, Verify)

Criteria
Without context
With context

createVerify usage

100%

100%

update method

100%

100%

verify method

100%

100%

batch verification

100%

100%

proper encodings

100%

100%

100%

Cryptographic Configuration Manager

Cryptographic Constants (constants object)

Criteria
Without context
With context

crypto-browserify import

100%

100%

crypto.constants access

100%

100%

RSA_PKCS1_OAEP_PADDING usage

100%

100%

RSA_PKCS1_PADDING usage

100%

100%

RSA_PKCS1_PSS_PADDING usage

100%

100%

POINT_CONVERSION_COMPRESSED usage

100%

100%

POINT_CONVERSION_UNCOMPRESSED usage

100%

100%

DH_CHECK_P_NOT_PRIME usage

100%

100%

DH_CHECK_P_NOT_SAFE_PRIME usage

100%

100%

DH_UNABLE_TO_CHECK_GENERATOR usage

100%

100%

DH_NOT_SUITABLE_GENERATOR usage

100%

100%

100%

Message Authentication System

HMAC - Hash-based Message Authentication Code (createHmac, Hmac)

Criteria
Without context
With context

Uses createHmac

100%

100%

Calls update method

100%

100%

Calls digest method

100%

100%

Incremental processing

100%

100%

Algorithm support

100%

100%

Tag verification

100%

100%

100%

Cryptographic Algorithm Reporter

Utility Functions (getHashes, getCiphers, listCiphers)

Criteria
Without context
With context

Uses getHashes()

100%

100%

Uses getCiphers() or listCiphers()

100%

100%

Hash validation implementation

100%

100%

Cipher validation implementation

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-crypto-browserify
Evaluated
Agent
Claude Code

Table of Contents