Format-preserving encryption
In cryptography, format-preserving encryption (FPE), refers to encrypting in such a way that the output (the ciphertext) is in the same format as the input (the plaintext). The meaning of "format" varies.
Source: Wikipedia — Format-preserving encryption (CC BY-SA 4.0)