Skip to content

Encryption

ZetoPad offers optional database encryption using SQLCipher for sensitive data.

How It Works

When encryption is enabled:

  1. Your entire database is encrypted with AES-256
  2. A password is required to unlock on startup
  3. Data is decrypted only in memory while using the app
  4. The file on disk remains encrypted

Enabling Encryption

  1. Open Settings > Security
  2. Click “Enable Encryption”
  3. Enter a strong password
  4. Confirm the password
  5. Click “Encrypt Database”

Lock Screen

When encryption is enabled, ZetoPad shows a lock screen:

  • On app launch
  • After a configurable idle timeout
  • When you manually lock (Cmd+L)

Enter your password to unlock.

Changing Password

  1. Open Settings > Security
  2. Click “Change Password”
  3. Enter your current password
  4. Enter your new password twice
  5. Click “Change”

Removing Encryption

To disable encryption and store data unencrypted:

  1. Open Settings > Security
  2. Click “Remove Encryption”
  3. Enter your current password
  4. Confirm the action

Your data will be decrypted and stored in plain SQLite format.

Technical Details

Encryption Standard

  • Algorithm: AES-256-CBC
  • Key Derivation: PBKDF2 with SHA-512
  • Library: SQLCipher

Performance

Encryption adds minimal overhead:

OperationOverhead
Read~5%
Write~10%
Search~5%

File Size

Encrypted databases are the same size as unencrypted ones.

Security Best Practices

Strong Passwords

Use a password that is:

  • At least 12 characters
  • Mix of letters, numbers, symbols
  • Not used elsewhere

Idle Lock

Configure auto-lock in Settings > Security:

SettingRecommended
Lock after idle5 minutes
Lock on sleepEnabled

Backup

Always keep encrypted backups of your data. See Backup & Restore.

What’s NOT Encrypted

  • Application settings (settings.json)
  • Keybindings (keymap.json)
  • Theme preferences

These files don’t contain your snippet content and are stored in plain text.

Offline Security

Since ZetoPad is completely offline:

  • No data transmitted over network
  • No cloud backup (unless you set it up)
  • No remote access possible
  • Physical device security is your responsibility