Security & Encryption
Complete guide to WallStreetStackers security features and encryption options
🔐 Encryption Overview
What encryption does WallStreetStackers use?
+WallStreetStackers uses Fernet encryption, which combines:
- AES-128 in CBC mode for symmetric encryption
- HMAC-SHA256 for message authentication
- Automatic key rotation and timestamp verification
- Base64 URL-safe encoding for secure data transmission
This is the same encryption standard used by many cryptocurrency wallets and secure messaging applications.
How does this compare to cryptocurrency security?
+Our encryption is comparable to leading cryptocurrency platforms:
- Bitcoin Core: Uses AES-256, we use AES-128 (both considered unbreakable)
- Ethereum wallets: Similar PBKDF2 key derivation with high iteration counts
- Hardware wallets: Same principle of user-controlled private keys
- MetaMask: Uses similar Fernet-style encryption for local storage
The key difference: crypto protects digital assets, we protect your physical precious metals data.
What makes Fernet encryption special?
+Fernet is designed for maximum security with these features:
- Authenticated encryption: Prevents tampering and ensures data integrity
- Timestamp protection: Prevents replay attacks
- No configuration needed: Uses secure defaults, eliminating common mistakes
- Cryptographically authenticated: HMAC-SHA256 ensures any tampering with encrypted data causes decryption to fail
🛡️ Your Security Options
Option 1: Standard Security (Default)
+How it works:
- WallStreetStackers generates and manages encryption keys
- Your data is encrypted before storage in our database
- We can decrypt your data for support and account recovery
- Still highly secure against external threats and data breaches
Best for: Users who want security without complexity, and prefer account recovery options.
Option 2: Private Key Security (Maximum Security)
+How it works:
- YOU create and control your own encryption passphrase
- Your passphrase is processed with PBKDF2HMAC using SHA-256
- 200,000+ iterations make brute force attacks impractical
- A unique salt is generated for your account
- WallStreetStackers CANNOT decrypt your data without your passphrase
Best for: Maximum privacy advocates who want complete control over their data.
Warning: If you lose your passphrase, your data is permanently unrecoverable.
Can I switch between security options?
+From Standard to Private Key: Currently, this option is only available during account creation. Once you have data encrypted with the standard key, switching would require manual data migration.
From Private Key to Standard: Not possible even with your original passphrase. This is by design to prevent unauthorized access. You can however export your data and create a new account without the encryption key and then import your data again.
Important: Choose your security level during signup. If you want maximum privacy, select the private key option when creating your account.
⚙️ Technical Implementation
Key Derivation Process (Private Key Mode)
+When you set a private key, here's what happens:
- Salt Generation: A unique 16-byte random salt is created for your account
- Key Derivation: PBKDF2HMAC-SHA256 processes your passphrase with 200,000+ iterations
- Key Creation: The result becomes your Fernet encryption key
- Data Encryption: All your metals data is encrypted with this key before storage
- Secure Storage: Only the salt is stored - your passphrase and derived key never touch our servers
What data is encrypted?
+Always Encrypted:
- All precious metals inventory data
- Purchase prices and costs
- Personal notes and descriptions
- Portfolio calculations and totals
- Import/export data
Not Encrypted:
- Username and email (needed for login)
- Subscription status
- Account preferences (themes, settings)
- Public market pricing data
How secure is 200,000 iterations?
+200,000 PBKDF2 iterations provides excellent protection:
- Time to crack: Even with powerful hardware, brute forcing would take centuries
- Industry standard: Meets or exceeds recommendations from security organizations
- Adaptive: We can increase iterations as computing power grows
- High security: 200,000 iterations is significantly higher than many industry implementations
Combined with a strong passphrase, this makes your data practically unbreakable.
🎯 Security Best Practices
Creating a Strong Private Key
+Recommended passphrase characteristics:
- Length: At least 12-15 characters
- Complexity: Mix of uppercase, lowercase, numbers, and symbols
- Uniqueness: Don't reuse passwords from other accounts
- Memorable: Use a phrase you can remember but others can't guess
Example approach: "MyGold$tack2024!" combines personal meaning with complexity.
Storing Your Private Key Safely
+Recommended storage methods:
- Password Manager: Use a reputable password manager like Bitwarden or 1Password
- Physical Backup: Write it down and store in a secure location
- Multiple Copies: Keep backups in different secure locations
- Family Access: Consider secure sharing with trusted family members
Never store in: Browser saved passwords, unencrypted files, or cloud notes without encryption.
Additional Security Tips
+- Regular Backups: Export your data periodically as an additional backup
- Secure Connections: Always access WallStreetStackers via HTTPS
- Log Out: Always log out when using shared or public computers
- Monitor Access: Check your account regularly for any unusual activity
- Keep Updated: Use the latest version of your web browser
- Set up 2FA: Enable two-factor authentication for added security (optional and located on your dashboard)