What is Hashing?
Hashing is a privacy protection method that replaces sensitive data with deterministic hash values. The same input always produces the same hash, making it perfect for analytics and user tracking without storing actual PII. Example:How It Works
- Detection: Blindfold identifies sensitive entities in your text
- Hashing: Each entity is hashed using SHA-256, MD5, or other algorithms
- Prefix Addition: Optional prefix (e.g.,
ID_,USER_) is added - Deterministic: Same value always produces the same hash
When to Use Hashing
Hashing is ideal when you need to:1. Analytics Without PII
Track user behavior without storing email addresses or names.- Same user has same ID across all events
- No PII in analytics database
- Can still calculate user-level metrics
2. User Tracking Across Systems
Create consistent user identifiers without sharing PII between systems.- Multi-platform tracking
- Cross-service analytics
- Data sharing between departments
3. Data Matching Without Exposure
Match records across databases without exposing the matching key.4. Compliance-Friendly User IDs
Create pseudonymous identifiers that comply with GDPR and privacy regulations.When NOT to Use Hashing
Hashing is not suitable when:1. You Need to Restore Original Data
Hashing is one-way. Use Tokenization instead.2. Users Need to Recognize Data
If users need to identify their own information, use Masking.3. Hashes Could Be Rainbow-Attacked
Don’t hash easily guessable values without salt.Key Features
Deterministic
Same input always produces same hash
One-Way
Cannot reverse hash to get original
Multiple Algorithms
MD5, SHA-1, SHA-256, SHA-384, SHA-512
Customizable
Choose prefix and hash length
Quick Start
- Python
- JavaScript
- Java
- cURL
Configuration Options
Hash Algorithm
Choose from multiple hashing algorithms:Hash Prefix
Add a prefix to identify hash type:Hash Length
Control how much of the hash to use:Shorter hashes are easier to work with but have higher collision risk. Use at least 16 characters for production.
Filter Entity Types
Only hash specific types of data:Common Patterns
User Tracking in Analytics
Cross-Platform User Matching
Pseudonymous Database IDs
Common Use Cases
Web Analytics
Web Analytics
Track users without storing email or names:Benefits: User-level analytics without PII, GDPR compliant
A/B Testing
A/B Testing
Assign users to test groups consistently:Benefits: Consistent variants, no PII stored, reproducible
Data Warehouse Integration
Data Warehouse Integration
Share data between teams without exposing PII:Benefits: Data sharing without PII exposure, compliance maintained
Duplicate Detection
Duplicate Detection
Find duplicates without comparing raw data:Benefits: Duplicate detection without storing PII
Best Practices
1. Use Strong Algorithms
Prefer SHA-256 or higher for security:2. Use Consistent Parameters
Keep hash parameters consistent across your application:3. Document Your Hashing Strategy
Clearly document what gets hashed and how:4. Consider Rainbow Table Attacks
For highly sensitive data, add application-level salt:Security Considerations
Learn More
Python SDK
Full Python SDK documentation
JavaScript SDK
Complete JavaScript guide
Java SDK
Sync and async Java client
REST API
HTTP API reference for /hash
Examples
Practical integration examples
Compare with Other Methods
Tokenization
Reversible replacement (restore later)
Masking
Partial visibility for users
Redaction
Complete permanent removal
Encryption
Reversible with encryption key