Hash & Encryption API
The Hash & Encryption API provides a complete suite of cryptographic operations for modern application development. Hash passwords securely, encrypt sensitive data, generate random values, and encode/decode strings - all through a simple REST API. ## Unique Features - **Password Strength Checker**: Real-time password analysis with crack time estimates (UNIQUE) - **Argon2 Support**: Modern,…
Hash & Encryption API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Hash | ||
| POST |
hashSalted /api/hash/salted |
Generate a hash with a random salt |
| POST |
hashArgon2 /api/hash/argon2 |
Generate an Argon2 hash with configurable memory cost, time cost, and parallelism. Argon2 is the winner of the Password Hashing Competition. |
| POST |
verifyArgon2 /api/hash/argon2/verify |
Verify a password against an Argon2 hash |
| POST |
hash /api/hash/{algorithm} |
Generate a cryptographic hash of the input string using the specified algorithm. Supported algorithms: md5, sha1, sha256, sha512 |
| POST |
hashBcrypt /api/hash/bcrypt |
Generate a bcrypt hash with configurable cost rounds. Higher rounds = more secure but slower. |
| Encoding | ||
| POST |
encode /api/encode/{type} |
Encode input string using specified encoding type. Supported: base64, url, html |
| POST |
decode /api/decode/{type} |
Decode input string using specified encoding type. Supported: base64, url, html |
| Crypto | ||
| POST |
generateRSAKeyPair /api/crypto/rsa/generate |
Generate RSA public/private key pair |
| POST |
deriveScrypt /api/crypto/scrypt |
Derive a key using Scrypt |
| POST |
decryptRSA /api/crypto/rsa/decrypt |
Decrypt RSA-encrypted ciphertext using private key |
| POST |
generateHmac /api/crypto/hmac |
Generate Hash-based Message Authentication Code (HMAC) Supported algorithms: sha256, sha512, sha1, md5 |
| POST |
decryptAES /api/crypto/aes/decrypt |
Decrypt AES-encrypted ciphertext |
| POST |
derivePBKDF2 /api/crypto/pbkdf2 |
Derive a key using PBKDF2 (Password-Based Key Derivation Function 2) Default iterations: 100,000 |
| POST |
encryptRSA /api/crypto/rsa/encrypt |
Encrypt plaintext using RSA public key |
| POST |
encryptAES /api/crypto/aes/encrypt |
Encrypt plaintext using AES-256-CBC. Key must be at least 32 characters. |
| Random | ||
| GET |
randomToken /api/random/token |
Generate a secure token with various formats |
| GET |
randomBytes /api/random/bytes |
Generate cryptographically secure random bytes |
| GET |
randomPassword /api/random/password |
Generate a cryptographically secure password |
| GET |
randomString /api/random/string |
Generate a cryptographically secure random string |
| GET |
randomSecurePassword /api/random/secure-password |
Generate a password with configurable character sets |
| GET |
randomUUID /api/random/uuid |
Generate a random UUID v4 |
| GET |
randomNumber /api/random/number |
Generate cryptographically secure random number in range |
| Security | ||
| POST |
checkPasswordStrength /api/security/password-strength |
Analyze password strength and provide suggestions |
| POST |
passwordStrength /api/hash/password-strength |
Analyze password strength with real-time scoring. Returns: - Score (0-100) - Strength label (very_weak to very_strong) - Improvement suggestions - Estimated crack time - Entropy… |
| POST |
secureCompare /api/security/compare |
Timing-safe comparison of two strings |
| Health | ||
| GET |
getMetrics /api/metrics |
Get usage metrics (requires authentication) |
| GET |
getApiInfo / |
Returns API information and available endpoints |
| GET |
getHealth /health |
Returns the health status of the API |
Hash & Encryption API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 500 / minute |
|
| PRO Recommended | $15 / month | 2000 / minute |
|
| ULTRA | $79 / month | 10000 / minute |
|
| MEGA | $199 / month | 50000 / minute |
|