Post

Format Preserving Encryption (FPE)

In cryptography, format-preserving-encryption (FPE), refers to encrypting in such a way that the output (the ciphertext) is is the same format as the input (the plain text) - Wikipedia

Which means…

  • To encrypt a 16-digit credit card number so that the ciphertext is another 16-digit number
  • To encrypt an English word so that the ciphertext is another English word
  • To encrypt an hex encoded text so that the ciphertext is another hex encoded text

The goal of a Format Preserving Encryption scheme is to securely encrypt while preserving the original formatting of the plaintext data

fpe fpe

References

This post is licensed under CC BY 4.0 by the author.