# Pattern lock and archive encryption: two different protections

> Understand Photo Vault’s app pattern lock and the separate pattern you can choose for a portable Secure Share archive.

Canonical page: https://photovault.arte-soft.com/features/pattern-encryption/

Arte Soft editorial team
Reviewed: 2026-11-02
Modified: 2026-11-02

A pattern can unlock your app or protect a Secure Share file. These are separate uses: the app lock controls access to your local gallery, while a secure archive uses its chosen credential to derive encryption protection.

## Unlock the app with a gesture

Photo Vault uses a five-by-five grid with at least six distinct points. During setup, enter and confirm the gesture. When unlocking an existing lock, the gesture is submitted when you lift your finger.

Avoid easy-to-guess shapes and be aware of people watching your screen. The app’s pattern verifier is stored in the device Keychain.


![Photo Vault pattern lock](<https://photovault.arte-soft.com/media/store/en-US/02-lock.webp>)

English app interface with demonstration media. The steps below explain the workflow.


## Local encryption is separate

Your local library and metadata are encrypted using keys protected by an installation key in the device Keychain. The app unlock pattern does not derive that installation key. Knowing the pattern alone is not a way to restore copied internal archive files on another device.


## A Secure Share pattern has another role

When exporting with Secure Share, you can choose Pattern for that .pvsecure file. The archive’s encryption key is derived from its credential using PBKDF2-SHA256 with a random salt. The receiving device opens the file with that same credential through Secure Import.

This archive credential does not need to match the app lock. Keep it separately from the exported file. Neither app unlocking nor archive encryption provides remote revocation of copies already opened by a recipient.


## Choose a credential carefully

A slow key derivation function does not make a familiar shape unpredictable. A human-chosen gesture does not acquire 256 bits of guessing resistance just because the encryption uses a 256-bit key. Keep credentials private and use a strong, unique password when you prefer that method.


## Sources & further reading

- [Apple Developer: kSecAttrAccessibleWhenUnlockedThisDeviceOnly](<https://developer.apple.com/documentation/security/ksecattraccessiblewhenunlockedthisdeviceonly>)
- [NIST SP 800-132: Password-based key derivation for storage](<https://csrc.nist.gov/pubs/sp/800/132/final>)

## Keep exploring

- [App lock vs media encryption: what Photo Vault’s lock actually protects](<https://photovault.arte-soft.com/guides/app-lock-vs-media-encryption/>)
- [Face ID unlock and the device passcode: choosing Photo Vault’s lock](<https://photovault.arte-soft.com/guides/device-passcode-fallback-photo-vault/>)
- [Photo Vault security features and their limits](<https://photovault.arte-soft.com/features/security-features/>)

---

## Official App Store Download (PhotoVault: Encrypt & Compress)

- **App Store (iPhone & iPad, Free Download)**: https://apps.apple.com/us/app/id6824412013?pt=127093297&ct=geo_md_vault&mt=8
- **App ID**: `6824412013` · **System**: iOS 26+ / iPadOS 26+
- **Encryption & Storage**: Local AES-256-GCM vault + optional HEVC compression + Password, Pattern & Face ID/Touch ID + `.pvsecure` Secure Share
- **Website & Documentation**: https://photovault.arte-soft.com/
