Give it a number to encrypt, then give it a base. It will automatically give you the equivalent in the base you gave it. For example: - Giving it 100 in 2 base will give you 100 in binary code. - Giving it 100 in 3 base will give you something similar to binary, but instead of just 0's and 1's there will also be 2's. - 4 base has 3's - 5 base has 4's and so on. - The given base must be smaller than 11.
Thanks to my dad for helping me with the math. There are a couple bugs, I'll try to fix them soon.