We all know there is Base 10, Base 16, etc. Are there encryption algorithms out there based on different or unique Base-N numbering systems?

  • $\begingroup$ Note that different bases do nothing for security; FF1 and FF3 basically take a base 2 algorithm (computers work on bits) and convert it so it can be used on different input / output domains. FF1 and FF3 are handy if your input / output needs to be in a particular range - the algorithm itself of course still works using bit operations. You can also use e.g. base64 on the ciphertext if your output should adhere to a specific range of printable characters. $\endgroup$
    – Maarten Bodewes
    Commented Jan 2, 2018 at 16:05

1 Answer 1


There's FF1 and FF3, which are Format Preserving Encryption methods that can use an arbitrary base internally. This can be useful, for example, if you are encrypting a fixed length alphanumeric field, it would make sense to use base 36 (radix=36) or base 62 (if upper and lower cases are distinguished).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.