Ascent.mask
ascent.mask.cc
Masks a credit card number, leaving a specified number of unmasked digits.
input
string
unmasked
number
maskChar
string
ascent.mask.IMEI
Mask an IMEI number, leaving a specified number of unmasked digits
input
string
unmasked
number
maskChar
string
ascent.mask.isCC
Checks if a given string is Valid Credit Card Number
input
string
ascent.mask.isIMEI
Checks if a given string is a Valid IMEI number.
input
string
ascent.mask.random
Generates a random alpha-numeric string of a given lenght.
lenght
number
Length of the alpha-numeric value needed.
ascent.mask.crc32
Computes the CRC32 checksum of a string
input
string
ascent.mask.md5
Computes the MD5 hash of a string
input
string
ascent.mask.sha512
Computes the SHA-512 hash of a string
input
string
ascent.mask.sha256
Computes the SHA-256 hash of a string
input
string
ascent.mask.redacted
Constant representing a fully redacted value
Last updated
Was this helpful?