The problem
Remembering a different strong password for every account is beyond what most people can do, so they reuse one or two passwords everywhere — and a single breach then opens every account at once. This Android password manager app, built in Kotlin, gives the user one place to keep every login: an AES-256-GCM encrypted vault whose keys live in the Android Keystore, unlocked with a fingerprint through BiometricPrompt. The app fills logins into other apps through the Android Autofill Framework, generates random passwords with a live entropy readout, and checks a password against known breach data using k-anonymity, so the password itself never leaves the phone. Categories, search and an auto-lock timer keep a growing vault usable, and an encrypted backup export protects against losing the phone. Everything runs locally on the device with no cloud account, which keeps the security model simple enough for a student to explain and defend in a viva.
Touch the sensor to unlock the vault.
Follow the working sequence
How it works
The flow runs from unlock to vault to autofill in one continuous chain. The user opens the app and touches the fingerprint sensor; BiometricPrompt verifies the fingerprint and authorizes the Keystore-backed key, which decrypts the vault into memory for the session. Inside the vault, logins are stored as encrypted records in a Room database, organised by category and searchable, and the user can add entries or generate a new password with its entropy shown on the spot. When the user opens any other app's login screen, the Autofill Framework offers the matching entry and fills it after a fingerprint confirmation. Leaving the app or letting the auto-lock timer expire locks the vault again, and an encrypted backup export keeps a recoverable copy. Every step below uses standard Android platform APIs, so each stage maps directly to code the student can show and explain.
- On first launch the user creates a master password, which is stretched with PBKDF2-HMAC-SHA-256 at 600,000 iterations (the OWASP Password Storage Cheat Sheet recommendation) to derive the key that wraps the vault key.
- The vault key itself is a 256-bit AES key generated inside the Android Keystore with GCM mode, a 12-byte random IV per entry and a 128-bit authentication tag.
- To unlock, the user touches the fingerprint sensor; BiometricPrompt verifies the print and authorizes a CryptoObject that releases the Keystore key, and the vault decrypts into memory for the session.
- Logins are added, edited and organised into categories in the vault, stored as encrypted records in a Room database with instant search and a strength badge on each entry.
- The password generator creates random passwords of 8–32 characters with SecureRandom and shows the live entropy readout — 92.8 bits for a 15-character password from the demo's 73-character set.
- In another app's login screen, the Autofill Service offers the matching entry and fills the username and password after a fingerprint confirmation, without the user typing anything.
- The breach check sends only the first 5 characters of the password's SHA-1 hash (k-anonymity) and reports whether the password appears in known breach data.
- When the auto-lock timer expires or the user locks the app, the key is dropped from memory; an encrypted backup export can restore the vault on a new phone with the master password.
Tech stack:
- Kotlin
- Jetpack Compose · Material 3
- AndroidX Biometric · BiometricPrompt
- Android Keystore · AES-256-GCM
- Room Database
- Android Autofill Framework
- PBKDF2-HMAC-SHA-256 · 600000 iterations
- SecureRandom · SHA-1 k-anonymity check
| Parameter | Value |
|---|---|
| Platform | Android 8.0 (API level 26) minimum · Android 14 (API level 34) target |
| Language | Kotlin |
| Vault encryption | AES-256-GCM · 256-bit key · 12-byte random IV per entry · 128-bit authentication tag |
| Key storage | Android Keystore (hardware-backed where the device provides it) |
| Biometric unlock | BiometricPrompt · Class 3 fingerprint · CryptoObject-bound key |
| Master-password derivation | PBKDF2-HMAC-SHA-256 · 600,000 iterations (OWASP Password Storage Cheat Sheet recommendation) |
| Password generator | 8–32 characters · 73-character set (lowercase · uppercase · digits · 11 symbols) |
| Generator entropy (demo-measured) | 92.8 bits for a 15-character password · 68.1 bits for an 11-character password · 51.7 bits for a 4-word passphrase |
| Key-derivation timing (demo-measured) | 207 ms for 600,000 iterations on the demo build machine (Node WebCrypto) · 432 ms in headless Chrome — varies by device |
| Breach check | k-anonymity · first 5 characters of SHA-1 hash only · full password never leaves the device |
| Breach-check sample results (demo-measured) | "P@ssw0rd123" flagged as breached · generated 15-character password not found in the demo sample |
| Auto-lock | 30 seconds · 1 minute · 5 minutes (configurable) |
| Vault entries in demo | 6 sample logins across 4 categories |
| Backup | Single encrypted export file (AES-256-GCM) · no cloud account |
Project features
The Android password manager app is built around four capabilities that work together: fingerprint unlock through BiometricPrompt as the primary way in, an AES-256-GCM vault whose keys are held by the Android Keystore, Autofill Framework integration that fills logins into other apps, and a password generator that shows the entropy of every password it creates. Around those four sit the everyday features that make a vault usable — a k-anonymity breach check, categories with search and strength badges, an auto-lock timer and an encrypted backup export — so the app behaves like a real password manager rather than a classroom demo of one screen. The generator and breach check also produce the demo-measured figures quoted on this page, so the numbers here come from the built demo rather than from a specification sheet. Each feature below is part of the base build, and anything optional is labelled as such.
- [Fingerprint unlock with BiometricPrompt] The fingerprint is the primary unlock: BiometricPrompt shows the system fingerprint dialog, and on a match it authorizes a CryptoObject that releases the Keystore-backed vault key. A master password remains as fallback when the sensor fails or the device has none.
- [Keystore-backed AES-256-GCM vault] Every login is encrypted with a 256-bit AES key in GCM mode, using a fresh 12-byte random IV per entry and a 128-bit authentication tag, so tampered entries fail to decrypt. The key is generated inside the Android Keystore and never leaves it.
- [Autofill Framework integration] The app registers as an Autofill Service, so when the user opens a login screen in another app, matching credentials are offered and filled after one tap and a fingerprint confirmation. No password is ever typed or pasted by hand.
- [Password generator with live entropy readout] Passwords of 8–32 characters are generated with SecureRandom from a 73-character set, and the app shows the entropy of each one as it is generated — a 15-character password from this set measures 92.8 bits in the demo build.
- [Breach-exposure check with k-anonymity] The app checks a password against known breach data by sending only the first 5 characters of its SHA-1 hash, so the password itself never leaves the device. In the demo build, "P@ssw0rd123" is flagged as breached while generated passwords come back clean.
- [Categories, search and strength badges] Logins are organised into categories such as Logins, Banking, Social and Work, with instant search and a strength badge on every entry, so a weak or reused password is visible at a glance.
- [Auto-lock timer and encrypted backup export] The vault locks itself after a configurable idle period (30 seconds, 1 minute or 5 minutes), and the whole vault can be exported as a single AES-256-GCM encrypted file that restores on another phone with the master password.
What is included
- Complete Kotlin source code (vault, biometric unlock, autofill service, generator, breach check)
- Working demo app showing the fingerprint unlock screen, vault list, generator with live entropy readout and breach check
- Project report PDF (background, cryptography used, architecture, methodology, results, limitations)
- Project abstract PDF (10 sections, matching this page)
- PPT presentation for final review
- Viva Q&A preparation document (Keystore, GCM, BiometricPrompt, PBKDF2, k-anonymity, autofill)
Limitations & prerequisites
- The vault cannot be recovered if the master password is forgotten — there is no reset, no recovery link and no back door, by design.
- Fingerprint unlock needs a device with a fingerprint sensor; without one, only the master password unlocks the vault.
- The breach check in the demo uses a small built-in sample list, so a clean result there is not proof a password is safe; the full build checks the Have I Been Pwned range API.
- Autofill works only in apps whose login fields expose the standard Android autofill hints; some apps and in-app web views may not offer fields.
- This is a teaching build using standard platform primitives — it is not audited, not certified, and not a commercial password manager.
- Changing enrolled fingerprints invalidates the Keystore key (by platform design), so the vault must be re-wrapped with the master password after a fingerprint change.
Frequently Asked Questions
Is this project suitable for a final-year project?
Yes. This project suits B.E./B.Tech final-year students in Computer Science, IT and Electronics & Telecommunication, and BCA/MCA students building Android apps, because it combines mobile development, platform security APIs and cryptography in one working app that can be demonstrated live. The viva discussion is concrete: why the key lives in the Keystore, why GCM mode is used, how BiometricPrompt authorizes the key, and how the k-anonymity breach check protects the password.
How is this different from the Encrypted Password Manager Desktop App (K-2239)?
This project is an Android native app, while K-2239 is an Electron desktop app for computers — different platform, different unlock and different core features. K-2239 unlocks with a master password through PBKDF2 (600,000 iterations) into an AES-256-GCM vault file on the computer, and its own page states that it has no cloud sync, browser autofill or mobile app in the base build. Here, fingerprint unlock through BiometricPrompt, Android Autofill Framework integration and the k-anonymity breach check are the core build, not optional customizations — on the K-2239 page, biometric unlock, autofill and breach checks are listed only as optional customizations. Key storage differs too: this app keeps its vault key in the Android Keystore, while K-2239 derives its key from the master password and stores the vault as a file.
How does fingerprint unlock work, and what happens if the fingerprint fails?
Fingerprint unlock is the primary unlock: BiometricPrompt shows the system fingerprint dialog, and on a match it releases the Keystore-backed vault key through a CryptoObject, so the fingerprint itself never unlocks anything directly — it authorizes the key. If the fingerprint fails or the device has no sensor, the app falls back to the master password, which derives the wrapping key with PBKDF2-HMAC-SHA-256 at 600,000 iterations. Enrolling a new fingerprint invalidates the Keystore key by platform design, so the vault is re-wrapped with the master password afterwards — that behaviour is documented in the report.
Does the app need the internet?
No, the vault, fingerprint unlock, password generator and backup export all work fully offline; only the breach check needs the internet in the full app, and even then it sends just the first 5 characters of the password's SHA-1 hash. The demo breach check works offline against a small built-in sample list, so it needs no connection at all. There is no account and no cloud sync, so nothing about the vault ever leaves the phone except those 5 hash characters during a breach check.
What happens if I forget the master password or lose the phone?
If the master password is forgotten, the vault cannot be opened — there is no recovery, no reset link and no back door, because the vault key is protected by that password and the Keystore key it wraps. If the phone is lost, the encrypted backup export can restore the vault on a new phone with the master password, provided a backup was exported beforehand. The fingerprint does not replace the master password, so the report advises keeping the master password and a backup in safe places — losing both means losing the vault permanently.
Can this project be customized?
Yes — realistic customizations include extra vault categories and custom fields, a different auto-lock timer or theme, passkey support, a desktop companion, a family-shared vault, or college-specific additions such as a particular report format, each scoped by feasibility, timeline and budget. The core build already includes fingerprint unlock, autofill, the generator and the breach check, so customization starts from a complete app.
Components & software requirements
- Kotlin
- Jetpack Compose · Material 3
- AndroidX Biometric · BiometricPrompt
- Android Keystore · AES-256-GCM
- Room Database
- Android Autofill Framework
- PBKDF2-HMAC-SHA-256 · 600000 iterations
- SecureRandom · SHA-1 k-anonymity check
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.