Not logged in - Login


R
e
q
u
e
s
t

a

d
e
m
o
< back

API Reference: Credit Card

{TOC}

"Credit Card " API

API function

.NET:

HushHush.MaskingLogic.SSRS.Mask.CreditCardRandom(string data)

Expected input

Data: Credit card number including separators (Letters are not allowed). Digits count must be between 13 and 20.

Expected output

Credit card number of the same length and separators positions with LUHN validation string (nvarchar(MAX))

Error handling

Fails on empty or Null values. Fails on values that contains less than 13 digits or more than 20 digits.

Example

.NET:

HushHush.MaskingLogic.SSRS.Mask.CreditCardRandom(�4665545588987878�)HushHush.MaskingLogic.SSRS.Mask.CreditCardRandom("4665545588987878")

Download a Trial