Skip to content

Hash Generator App [Kotlin]. Uses SHA-256, SHA-512, MD5 algorithm to convert the text strings to hash codes.

Notifications You must be signed in to change notification settings

thisisvd/Hash-Generator-App

Repository files navigation



Hash Generator App

Download the latest android release application build.

IntroductionAlgo-usedScreenshotsTech Stack

Introduction

The hash generator application converts the text into a particular hashed string by using some algorithms like SHA-256, SHA-512, and MD5. The application is built with the Kotlin language. It contains three simple screens: a splash screen, a main screen where we can select an appropriate algorithm, type text, and also clear that text according to our needs, and a last screen where the generated hash text has been displayed. The user enters the text and then selects the algorithm from SHA256, SHA512, or MD5, any one of them, and on pressing the click button with a nice animation, a new screen has been loaded showing a generated hashed text. Android Jetpack Architecture is used, including MVVM (Model-View-ViewModel), Navigation-Args, Navhost etc.

Algo-used

SHA-256: SHA-256 (Secure Hash Algorithm 256-bit) is a cryptographic hash function that takes an input (or "message") and returns a fixed 256-bit (32-byte) hash value, which is typically represented as a 64-character hexadecimal number. It is widely used in security protocols like SSL/TLS for data integrity and in blockchain technologies like Bitcoin to ensure the integrity of data and prevent tampering. The algorithm is designed to be collision-resistant, meaning it is computationally infeasible to find two different inputs that produce the same hash.

SHA-512: SHA-512 (Secure Hash Algorithm 512-bit) is similar to SHA-256 but produces a 512-bit (64-byte) hash value, typically represented as a 128-character hexadecimal number. Like SHA-256, it is a cryptographic hash function used for data integrity and security purposes. SHA-512 is part of the SHA-2 family and is designed to be more secure, providing a higher level of protection due to its larger hash output. It is commonly used in applications requiring stronger security, such as in digital signatures, certificates, and blockchain systems. It also shares the same resistance to collisions as SHA-256, making it computationally infeasible to generate two different inputs that produce the same hash.

MD5: MD5 (Message Digest Algorithm 5) is a widely used cryptographic hash function that produces a 128-bit hash value from an input of any size. It is commonly used for verifying data integrity, generating checksums, and storing hashed passwords. However, MD5 is considered cryptographically broken and unsuitable for further security use due to vulnerabilities, such as susceptibility to collision attacks (where two different inputs produce the same hash). As a result, MD5 is generally replaced by more secure hashing algorithms like SHA-256 in security-critical applications.

Screenshots

Tech Stack

Kotlin, MVVM, XML, Navigation-Args, Animations, Hashing Algorithms etc.

About

Hash Generator App [Kotlin]. Uses SHA-256, SHA-512, MD5 algorithm to convert the text strings to hash codes.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages