public final class MaskUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
mask(String strToMask)
Masks the given string with a fixed size string of mask characters
Return an empty string in case input is null or empty
|
static String |
maskCardNumber(String cardNumber)
Masks the given card number
Return an empty string in case input is null, empty or has too less digits
|
Copyright © 2022. All rights reserved.