Musk a staring. It use to display any sensitive data like Credit Card Number
App::Module('Cryptography')->mask(String,[Left],[Right]);
Parameter |
Type |
Description |
---|---|---|
String |
Mandatory |
String to mask |
Left |
Optional |
Number of Unmask characters on left side. |
Right |
Optional |
Number Unmask chacraters on right side. |
See bellow examples:
$return = App::Module('Cryptography')->mask('374556985231245');
pre($return);
// Return 3745********1245