Note: To access all shared projects, get information about environment setup, and view other guides, please visit Explore-In-HMOS-Wearable Index.
This application is a multi-purpose security tool built with CryptoArchitectureKit to generate cryptographically secure random values. It consists of three main modules:
-
Digit Generator – Creates numeric verification codes (similar to an authenticator) with a user-defined length, refreshing automatically every 60 seconds.
-
QR Code Generator – Generates QR codes from random numeric values and allows the user to create a new QR code on demand.
-
Strong Password Generator – Produces secure and random passwords based on user preferences, including numbers, special characters, and uppercase letters.
-
Two-Factor Authentication: Users can generate one-time passcodes (OTPs) for secure login processes.
-
Temporary PIN Codes: The app can be used to create temporary PIN numbers for locking or unlocking apps, files, or devices.
-
Password Helper: Instantly generate strong, unpredictable passwords for protecting accounts and applications.
-
Learning & Testing Cryptographic Functions: Developers can use the app as a lightweight example to understand and experiment with HarmonyOS’s Crypto Architecture Kit.
-
Time-Based Code Refresh: Security-sensitive scenarios where codes must refresh periodically (e.g., every 60 seconds) can be simulated.
-
Secure Login & Sharing: Create and scan QR codes for safe data transfer or login processes.
- Languages: ArkTS
- Frameworks: HarmonyOS SDK 5.1.0(18)
- Tools: DevEco Studio Vers 5.1.0.842
- Libraries: @kit.CryptoArchitectureKit, @kit.ArkUI
entry/src/main/ets/
|---pages
| |---Index.ets // Home Page
| |---DigitGenerator.ets // Digit Password Generator - Includes only numbers
| |---QRCodeGenerator.ets // QR Code Generator
| |---StrongPasswordGenerator.ets // Strong Password Generator - includes numbers, special characters, and uppercase letters
- Huawei Watch 5
- Crypto Architecture Kit is not working on the previewer.
WeAuthenticatorApp is distributed under the terms of the MIT License See the LICENSE for more information.



