Skip to content

About

Salted SHA-256 PIN & pluggable biometric app lock for Flutter with auto-lock on background and Material 3 EN/Bangla UI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

smart_app_lock_kit

Salted SHA-256 PIN & pluggable biometric app lock for Flutter with brute-force cooldowns, background grace-period auto-lock, and Material 3 EN + বাংলা UI.

Features

  • Never Stores Plaintext PINs: Salted SHA-256 digest with constant-time verification (PinHasher).
  • Brute-Force Protection: Configurable cooldown timer after repeated wrong attempts.
  • Smart Auto-Lock on Background: Configurable backgroundGracePeriod (e.g. 20s) via AppLockGate.
  • Zero Plugin Lock-In: Pure-Dart core + CallbackBiometricBackend for 1-line local_auth integration + FakeBiometricBackend for tests.
  • Ready-Made EN / বাংলা UI: AppLockGate, PinSetupSheet, and AppLockSettingsTile.

Install

dependencies:
  smart_app_lock_kit:
    git:
      url: https://github.com/Keshab1997/smart_app_lock_kit.git

Quick Start

final appLock = await AppLockController.init();

// Wrap your app home:
AppLockGate(
  controller: appLock,
  strings: isBangla ? const AppLockStrings.bn() : const AppLockStrings.en(),
  child: HomeScreen(),
);

// Drop into SettingsScreen:
AppLockSettingsTile(
  controller: appLock,
  strings: isBangla ? const AppLockStrings.bn() : const AppLockStrings.en(),
);

License

MIT © Keshab Sarkar

About

Salted SHA-256 PIN & pluggable biometric app lock for Flutter with auto-lock on background and Material 3 EN/Bangla UI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages