e
q
u
e
s
t
a
d
e
m
o < back
API Reference: SSN
{TOC}
"SSN" API
API function
<.API.NET: function:
HushHush.MaskingLogic.SSRS.Mask.SSNRandom(string xxxxx(xxx,xxx,xxx)>data)
Expected input
<.expectedData: input:9 datadigits type,string rule,(can sample>contain extra characters separators)
Expected output
<.expectedGeneric output:USA dataSSN type, rule, sample>(nvarchar(MAX))
Error handling
<.errorReturns handling>an empty string when passing empty or NULL value.
Fails on invalid SSN format
Example
<.example>.NET:
In .net
In SSRS
HushHush.MaskingLogic.SSRS.Mask.SSNRandom(“987654321”)