βEverything started with a normal thought in the classroom.β
MIF Encryption is a custom encryption algorithm invented by Dhanwanth.
It is based on a unique concept: transforming characters into numerical face values,
applying mathematical logic, and then obscuring the result through probabilistic digit mutation and randomized separators.
Unlike traditional encryption schemes, MIF is:
- π€― Highly customizable
- π Layered and modular
- π² Randomized but reproducible
- π‘ Created from scratch with original logic
Input: A string, like "Dhanwanth"
Process:
-
Character Indexing
Each character is mapped to its position in a customchar_set
(lowercase + uppercase + punctuation + digits).'D'β29,'h'β7,'a'β0, etc. -
Mathematical Transformation
A mathematical function is applied (default isxΒ², but can be anything).29β841,7β49,0β0 -
Random Integer Mutation
A random number (1β50) is added to each result for obfuscation.841 + 25 = 866 -
Digit Character Mutation
Digits are optionally replaced by corresponding characters
in the char set with a mutation probability.'4'β'e','0'β'a', etc. -
Randomized Digit Separators
Two-digit and three-digit numbers get randomized between-digit symbols.34β3>4,406β4;0;6
Input: d
Encrypted Output (with seed = 0): 3>e
Decryption is possible only if:
- The random seed is preserved
- The math function (e.g., xΒ²) is known
- Mutation and separator rules are tracked
This makes MIF great for:
- π Obfuscated secure strings
- π§© Puzzle/treasure hunt encryption
- π§ Crypto-logic mini games
- π£ Swap any math function (e.g., xΒ², 3x+7, modulo)
- π Tune mutation probability
- π§© Custom separators
- π Reversible or irreversible mode
- π§ͺ Debug and traceable versions
Invented by Dhanwanth
Implementation in python partnered by ChatGPT
βEverything started with a normal thought in the classroom.β
β Dhanwanth, Creator of MIF Encryption a twelve year old, Indian, 8th grader