Giter Site home page Giter Site logo

mayorjay / genpass Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 485 KB

A Secure Password Generator designed with security precautions for the user's data

License: MIT License

Kotlin 100.00%
android clean-architecture datastore-preferences jetpack-components mvvm-architecture password-generator security

genpass's Introduction

GenPass

GenPass is a secure password generating application designed with a high level of security. It uses Java Security library to generate strong password combinations of either alphabets, numbers, alphanumeric or alphanumeric + standard password special characters. The length of the password can be between 16 and 64. Once a Password is generated, a user can copy it for use. It is not a Password manager, hence for security reasons, the application only keeps track of the 10 most recent passwords generated (with the time of generation) and gets rid of every other record. Also, GenPass does not have any knowledge of what the user uses their generated passwords for. It is implemented using Clean Architecture, Model-View-ViewModel pattern (MVVM) and uses Modern Android Development pattern and libraries. Jetpack Datastore + Coroutines + Flow is used to save and fetch the data. Queue data structure and algorithm was implemented to enforce a maximum number of passwords to be saved per time and a sequential kick out of old data.

Project Characteristics

This application has the following characteristics:

Tech Stack

Minimum API level is set to 21, this means GenPass can run on approximately 98% of Android devices

  • Splash Screen, the standard recommended Splash Screen library for Android Applications
  • Preferences DataStore used for data storage and retrieval
  • Kotlin Coroutines used to perform asynchronous calls to the device storage
  • Kotlin Flow used to collect the data from the device storage and transforms it to LiveData
  • ViewModel used to store and manage UI-related data in a lifecycle conscious way
  • LiveData which is an observable data holder class used to handle data in a lifecycle-aware manner
  • View Binding used to easily write code that interacts with views by referencing them directly
  • SDP/SSP which is a scalable size unit that scales with the screen size. It helps to easily design for multiple screens
  • JUnit4, a testing framework used for writing unit tests

License

MIT License
Copyright (c) 2023 Joseph Olugbohunmi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.