Why?One potential advantage of format-preserving encryption is that it can be difficult to detect that output is encrypted. Encrypted text also remains usable, for example an encrypted credit card number could be securely communicated to a customer. Format-preserving encryption can be used to create masked test data from production data that passes system validation tests.
|Overview: Format-preserving Encryption|
Encryption that produces output in the same format as input.
Encryption that produces ciphertext in the same format as the plaintext it encrypts.