Cryptography Utilities

Password Entropy

Password Entropy calculates the randomness strength of passwords in bits using character set analysis and length. Access via MCP in Cursor or Windsurf, or GET /v1/crypto/entropy with your password as a parameter. Returns entropy score, character set details, and strength assessment. Higher entropy means stronger resistance to brute-force attacks.

API Endpoint

GET /v1/crypto/entropy

Code Examples

curl "https://tinyfn.io/v1/crypto/entropy" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/crypto/entropy', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/crypto/entropy',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's cryptography tools:

{
  "mcpServers": {
    "tinyfn-crypto": {
      "url": "https://tinyfn.io/mcp/crypto",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How is password entropy calculated?

Entropy = log2(character_set_size^password_length). The tool analyzes your password to determine the character set (lowercase, uppercase, digits, symbols) then calculates total possible combinations.

What's considered good password entropy?

Generally 50+ bits is acceptable, 60+ bits is good, 70+ bits is strong. A 12-character password with mixed case, numbers, and symbols typically achieves 70-80 bits.

Can I use this tool in MCP-enabled editors to check passwords?

Yes, the entropy tool works in Cursor, Claude Code, Windsurf, and other MCP clients. Perfect for validating password strength during security audits or user registration flows.

Does this tool store or log the passwords I check?

No, password analysis happens server-side but passwords aren't stored. However, avoid checking real production passwords - use representative samples instead.

How does this differ from basic password strength meters?

This tool provides precise entropy calculations in bits rather than vague 'weak/strong' labels. It's deterministic and mathematically accurate for security assessments.

Try Password Entropy Now

Get your free API key and start using Password Entropy in seconds.

Get Free API Key