Format-preserving encryption is encryption that produces output in the same format as input. This is often used to describe algorithms for encrypting text that produce text with the same qualities. For example, an algorithm may encrypt 16-digit numbers as 16-digit numbers or English words as English words. Format-preserving encryption can also apply to binary formats such as images that encrypt as images.
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.
John Spacey. "What is Format-preserving Encryption?." Simplicable. Retrieved November 16, 2026. from https://simplicable.com/IT/format-preserving-encryption
Cookies help us deliver our services. You have choices regarding these cookies. Please visit our privacy policy, cookie policy and consent tool to learn more.
Copyright 2002-2026 Simplicable. All rights reserved. This material may not be published, broadcast, rewritten, redistributed or translated. Report violations here.