0
$\begingroup$

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?

$\endgroup$
  • $\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 Jan 2 '18 at 16:05
3
$\begingroup$

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).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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