HideBerry security: how your vault is protected, and the limits

What HideBerry encrypts, how your PIN and the phone's secure hardware protect the key, and what no vault app can stop.

Updated November 24, 20269 min read

HideBerry protects your vault by encrypting everything you put in, on your phone, with keys that never leave it. Each photo, video, note and file has its own random key. File names, folders and thumbnails are encrypted too. Your PIN or pattern doesn't become the key: it unlocks a random master key through a deliberately slow step and a second key held in the phone's secure hardware, so files copied off the phone can't be opened with the PIN alone. The app has no internet permission, no account and no server, so there is no copy of your vault anywhere else unless you save a backup file. This page explains each layer in plain words, then lists what HideBerry cannot protect against. No outside security assessment has been done, and we say so here rather than imply otherwise.

What is protected, how, and the limit

WhatHow HideBerry protects itThe limit
Photos, videos, notes, filesEach encrypted with its own random 256-bit key (AES-256-GCM)Copies you take out are not encrypted
Names, folders, thumbnailsEncrypted index (SQLCipher)None on disk; visible on screen while the vault is open
The master keyRandom, never derived from your PINOpened by your PIN plus the phone's secure hardware
Your PIN or patternArgon2id, then wrapped by a hardware key (Android Keystore)Someone with the unlocked phone can still try guesses in the app
Guessing in the appWaits after the 5th wrong try, up to 30 minutesRoot access or moving the clock forward gets past the waits
The screenScreenshots, screen recording and the recent-apps preview blocked; auto-lockAnyone looking at the screen sees what is open
Leaving the phoneNo internet permission; Android app backup turned offBackup files you make go wherever you save them (still encrypted)
Recovery12 recovery words open a backup file on any phoneLose both the words and the backup file, and nothing can open the vault

How each item is encrypted

Every item you put in gets its own random 256-bit key and is encrypted with AES-256-GCM, a standard encryption method that both scrambles the data and detects if anyone has changed it. HideBerry uses Google's Tink encryption library for this, and encrypts large files in 1 MB segments with Tink's streaming encryption.

When you view a photo, video, text or PDF, it opens inside the app. Nothing is decrypted to a file on the phone to show it to you, so viewing leaves no readable copy behind.

The vault's index, which holds file names, folders and thumbnails, is encrypted with SQLCipher, an encrypted form of the SQLite database. Someone browsing the phone's storage sees neither your photos nor what they are called.

For the general picture of how this works, read how photo encryption works on Android.

How your PIN and the phone's hardware protect the key

The vault's master key is random and 256 bits long. It is never derived from your PIN, which matters because a 6-digit PIN on its own is far too short to be a strong key.

Instead, two things stand guard over the master key:

  1. Argon2id. Your PIN or pattern goes through Argon2id, a method designed to make each guess slow and memory-hungry. HideBerry uses 64 MiB of memory and 3 passes for every attempt.
  2. The phone's secure hardware. The result is wrapped again by a key in Android Keystore, the part of Android that keeps keys in protected hardware. On phones that have StrongBox, a separate security chip, the key lives there; otherwise it lives in the TEE (Trusted Execution Environment), a protected area of the phone's main processor. That hardware key can't be copied off the phone.

The result: files copied off the phone cannot be opened with the PIN alone, because part of what's needed stays in that phone's hardware. With a screen lock set, the hardware key works only while the phone is unlocked. More in Android Keystore and secure hardware explained.

Your lock is a PIN of at least 6 digits or a pattern of at least 6 dots, separate from the phone's screen lock. Which to choose is covered in PIN vs pattern: which is stronger. Fingerprint unlock is optional and is a faster way in, not an extra layer: Android checks the fingerprint, and the app never receives it.

Wrong-attempt waits

Wrong triesWait before the next try
1 to 4None
5th30 seconds
6th1 minute
7th5 minutes
8th15 minutes
9th and every one after30 minutes

These waits slow down someone guessing through the app. They are not encryption: someone with root access, or who moves the phone's clock forward, can get past them. The real protection against guessing outside the app is the hardware key and Argon2id.

The wrong-attempt count and the time of the last wrong try are saved on the phone, so the waits continue after closing or restarting the app. A correct unlock resets the count, and fingerprint unlock and the recovery words aren't blocked by the waits. HideBerry never erases the vault after wrong tries: there is no self-destruct. Read guessing protection and lockouts for how these fit together.

What stays on the phone

  • No internet permission. HideBerry does not have Android's INTERNET permission, so it cannot send anything over the internet. Purchases go through the Play Store app, which does the network part.
  • No account, server, cloud, ads or analytics. There is nothing outside your phone that holds your vault or knows what's in it.
  • Android app backup is turned off. Android's cloud and ADB app backup do not copy the vault.
  • Only the photos you pick. Putting things in uses Android's own picker, so HideBerry receives only what you choose. It has no access to all your photos.
  • Few permissions. Camera (only for the in-app camera), biometric (only if you turn on fingerprint unlock) and billing. Not requested: internet, location, contacts, microphone, all-files access, all-photos access.

Our privacy policy sets out the same in policy form.

The screen and locking

  • Screenshots and screen recording of the app are blocked, and the recent-apps preview is hidden. This uses Android's FLAG_SECURE on the app's window, and it is always on: there is no setting to turn it off. Details in blocking screenshots and the recent-apps preview.
  • HideBerry locks by itself after you leave the app: immediately, after 30 seconds (the default), 1 minute or 5 minutes. A Lock now button locks it at once.

Backups and recovery words

A backup file (.vault) is encrypted and saved only where you choose. The app reminds you to make one but never makes or uploads one by itself. Items in the trash aren't included.

Your 12 recovery words encode a 128-bit random secret, using the standard BIP39 English word list with a built-in checksum that helps catch typing mistakes. Together with a backup file, they open your vault on any phone. They also let you set a new PIN if you forget yours. The words can't be shown again after setup, and nobody, including us, can recover a vault or reset access. There is no account to recover. A damaged or wrong backup file fails with a clear message and never half-restores.

Write the words on paper. The Copy button puts them on the clipboard for 60 seconds, but some keyboard apps keep their own clipboard history, so paper is safer.

What HideBerry does not protect against

  • Someone holding your phone unlocked can try to guess your PIN or pattern in the app. The waits slow this down.
  • Root access, malware with deep system access, or specialist forensic tools on an unlocked phone.
  • What is on screen while the vault is open.
  • Copies outside the vault: items you take out, originals left in the gallery, and copies in cloud photo backups made before you put them in.
  • Losing both the backup file and the recovery words. Deleting the app also deletes the vault on that phone.
  • No phone screen lock. It isn't required, but without one anyone holding the phone can try PINs in the app; with one, the vault's hardware key can't be used while the phone is locked.

These limits apply to vault apps in general, not only HideBerry. Limits of a photo vault explains why.

Set HideBerry up for the strongest protection

  • Set a phone screen lock, so the hardware key is unusable while the phone is locked.
  • Choose a PIN longer than 6 digits, or a pattern with more than 6 dots.
  • Write the 12 recovery words on paper and store them away from the phone.
  • Delete originals from the gallery after putting them in, and check cloud photo backups for older copies.
  • Pick "immediately" or 30 seconds for auto-lock.
  • Make a backup file regularly and keep it off the phone.
  • Delete taken-out copies when you're done with them.

People Also Ask

Is HideBerry encrypted or does it just hide photos?

It encrypts. Every item is encrypted with its own key using AES-256-GCM, and the names, folders and thumbnails are in an encrypted index. A hidden album only takes photos out of view; HideBerry makes the stored files unreadable without the key. See hidden vs encrypted photos.

Can a photo vault app be hacked?

Any app can have flaws, and HideBerry hasn't had an outside security assessment. What we can describe is the design: per-item encryption, a random master key, a hardware-held key, and no internet permission. The known limits, such as root access on an unlocked phone, are listed above. Read can a photo vault app be hacked.

Can the developer see my photos?

No. HideBerry has no account, no server and no internet permission, so nothing you put in reaches us. We hold no key to your vault and cannot recover one.

FAQs

What encryption does HideBerry use?

AES-256-GCM, through Google's Tink library, with a separate random 256-bit key for each item. Large files use Tink's streaming encryption in 1 MB segments. The index of names, folders and thumbnails is encrypted with SQLCipher.

If someone copies the vault files off my phone, can they open them with my PIN?

No. Your PIN goes through Argon2id and is then wrapped by a key in the phone's secure hardware (Android Keystore), which can't be copied off the phone. Without that hardware key, the PIN alone does not open the files.

Is HideBerry's security independently assessed?

No outside security assessment has been done. HideBerry is made by an independent developer, and this page describes the design as built. If you find a security problem, write to [email protected].

Does fingerprint unlock weaken the vault?

Fingerprint is a faster way in, not an extra layer, and the PIN or pattern always works too. Android checks the fingerprint and HideBerry never receives it. It accepts any fingerprint enrolled in the phone's settings, so if someone else's fingerprint is enrolled on your phone, it can open the vault too. When a new fingerprint is added to the phone, HideBerry's fingerprint key stops working until you turn fingerprint unlock on again with your PIN or pattern. It is offered only when the phone has a screen lock, because Android requires one.

What happens if I lose my recovery words?

If you still know your PIN, the vault on your phone keeps working. But no backup file can be opened without the words, and a forgotten PIN can't be reset, so losing the phone or the PIN would mean losing the vault. Nobody, including us, can recover access.

See how HideBerry protects your own vault

HideBerry is coming soon to Google Play. Read how setup, use and backups work, see the full list of HideBerry features, or go deeper with photo encryption and security explained.

Keep private photos private

HideBerry encrypts photos, videos, notes and files on your Android phone. No account, no cloud, no ads. Free for up to 50 items, with every feature.

Coming soon toGoogle PlaySee how it works