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 |