Skip to main content

Character handling functions

Function Random masking Consistent masking Format-preserving encryption Input data validation
Replace all Yes Yes Yes No
Replace the first n characters Yes Yes Yes No
Replace the last n characters Yes Yes Yes No
Replace characters between two positions Yes Yes Yes No
Replace all letters Yes Yes Yes No
Replace all digits Yes Yes Yes No
Keep the first n digits and replace following ones Yes Yes Yes No
Keep the last n digits and replace following ones Yes Yes Yes No
Keep characters between two positions Yes No No No
Remove the first n characters Not applicable Not applicable Not applicable Not applicable
Remove the last n characters Not applicable Not applicable Not applicable Not applicable
Remove characters between two positions Not applicable Not applicable Not applicable Not applicable

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!