https://github.com/radeelahmad/assembly-password-genrator
A basic assembly random password genrator.
https://github.com/radeelahmad/assembly-password-genrator
asm assembly assembly-language password-generator
Last synced: 3 months ago
JSON representation
A basic assembly random password genrator.
- Host: GitHub
- URL: https://github.com/radeelahmad/assembly-password-genrator
- Owner: RadeelAhmad
- Created: 2024-07-11T06:25:52.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T22:10:47.000Z (11 months ago)
- Last Synced: 2025-03-15T05:14:54.165Z (3 months ago)
- Topics: asm, assembly, assembly-language, password-generator
- Language: Assembly
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assembly-Password-Genrator
This repository contains an assembly language program that generates passwords of a specified length and complexity using Irvine32.inc. The password can include uppercase letters, lowercase letters, numbers, and special characters based on the specified complexity level.## How It Works
The program uses the Irvine32 library to handle input and output operations. It reads two integers from the user: the desired length of the password and the complexity level. Based on the complexity level, it generates a random password using the specified character sets.## Complexity Levels
- Uppercase letters only
- Mixed case (uppercase and lowercase letters)
- Mixed case with numbers (uppercase, lowercase letters, and numbers)
- All characters (uppercase, lowercase letters, numbers, and special characters)## Usage
Assemble and link the program using an assembler that supports the Irvine32 library (such as MASM).
Run the executable.
Input the desired password length.
Input the desired complexity level (1-4).
The generated password will be displayed.## Code Structure
- `data:` Defines data storage for the password, length, complexity, and character sets.
- `start PROC:` The main procedure that handles reading input, generating the password, and displaying the result.
- `GenerateRandomChar PROC:` Generates a random character based on the specified complexity level.## Example
```bash
--------- Main Menu ------------
1. Weak Password (lowercase + length fewer than 8)
2. Average Password (mixedcase + numbers + length 8 to 12)
3. Strong Password (mixedcase + numbers + special characters + length greater than 12)Choose Complexity (1-3): 3
Enter Desired Password Length: 16Password Will be: Ab1!dEf2#Gh3$Ij4
```## Dependencies
- Irvine32.inc library