decode mode will begin automatically after you enter the key and encoded string - encoding requires you to choose your key (or randomize it), input your string, and then press go. This program utilizes a mix of xor encryption, shifts, multipliers, and modular arithmetic. cLib (custom library) is actually just hexadecimal (possibly a couple modifications), but I didn't know that I was just creating a hexadecimal library. It's used for the xor encryption. If you'd like to know the key structure: Digit 1: xor type (even or odd) Digits 2-3: xor key Digits 4 (and sometimes 5): multiplier Digit 6 (or sometimes 5): x, for separation Last 1 (or 2) digits: shift
thanks to the euclidean formula for allowing me to find the mulitplicative modular inverse. As of 10:00 am on 12/4/24, I fixed an issue regarding encrypting 'i' using xor with the custom hexadecimal library. (bug was caused by improper value sensing, causing the input to only be single digit, corrupting it).