Skip to main content

Character handling functions

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

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 – let us know how we can improve!