Skip to content

mealet/mul0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



👀 Installation

Short instruction:

  1. Download the latest release for you'r system (linux, windows, macos)
  2. Move it to any folder on you'r PC
  3. Done

🧭 Usage

  1. Open terminal in mul0 directory and run it:
# MacOS or Linux
./mul0

# Windows
./mul0.exe
  1. Follow instructions from help message

Basic Example:

$> ./mul0 hash "Hello, World! 2 + 2 = 4"
Mul0 output (printed to stderr):
14401c681e601e601f380c60090018781f3820101e601c20094809000e1009000c1809000e100900112809000ea00072

$> ./mul0 dehash "14401c681e601e601f380c60090018781f3820101e601c20094809000e1009000c1809000e100900112809000ea00072"
Mul0 output (printed to stderr):
Hello, World! 2 + 2 = 4

🦀 How it works

Algorithm takes first byte and uses it as a key. Next steps are pretty simple:

  1. Multiply every byte on key's byte
  2. Convert every byte to hexdecimal number and resize it to 4 chars
  3. Put all strings together
  4. Place key at the end

🦛 License

Project licensed under the MIT License. See more in the LICENSE file

About

Pet-project hashing algorithm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages