Skip to content

An implementation of random password generator. Generate strong random passwords with multiple available options. Uses shared Jetpack Compose UI and Kotlin Multiplatform. Runs on Android, iOS, Web Browsers and Desktop.

License

Notifications You must be signed in to change notification settings

BharathVishal/Random-Password-Generator-Kotlin-Multiplatform

Repository files navigation

Random Password Generator - Kotlin Multiplatform

An implementation of random password generator. Generate strong random passwords with multiple available options. Uses shared Jetpack Compose UI and Kotlin Multiplatform code. Runs on Android, iOS, Web Browsers and Desktop.

 

Project Structure:

This is a Kotlin Multiplatform project targeting Android, iOS, Desktop and Web.

/composeApp is for code that will be shared across your Compose Multiplatform applications. It contains several subfolders: commonMain is for code that’s common for all targets.

Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name.

 

Usage:

  1. Open project and sync gradle.
  2. Modify the code to suit your needs.
  3. Watch out for more features.    

Build and run

Check out the repository, navigate to the project folder, and use the following commands:  

Run Web version via Gradle Run Configurations

wasmJsBrowserRun -t --quiet  

Run Desktop version via Gradle

composeApp:desktopRun  

 

Features :

  • Generate passwords with various options (capital letters, smallcase, numbers, symbols).
  • Has automatic and manual night mode theme switching.
  • Has an option to generate 100 random passwords.
  • Copy generated password to clipboard.
  • Has a clean and intuitive UI.
  • Handles orientation changes (Portrait and landscape).
  • Persists app settings on app restarts on all platforms.
  • Supports edge to edge functionality on Android 15.
  • Uses Jetpack Compose and Material design 3.0 dynamic theme based UI.

 

Preview :

Android Preview

Preview  

Web Preview

Preview

 

Screenshots :

Android & iOS

Screenshot 1 Screenshot 2  

Desktop

Screenshot 3  

Web

Screenshot 4

 

Year developed :

2025

 

SDK Info :

Min SDK : 24 | Target SDK : 35 | Gradle : 8.9.0 | Kotlin | Jetpack Compose | Kotlin Multiplatform Plugin: 0.8.3 | JVM : 17  

 

Android Studio Version :

Android Studio Ladybug Feature Drop | 2024.2.2

 

License :

Apache License 2.0  

 

Android is a trademark of Google LLC.

   

© 2025. Developed by Bharath Vishal G (https://github.com/BharathVishal).

Thank you. 🙂