e
q
u
e
s
t
a
d
e
m
o
API Reference: SIN
{TOC}
"SIN" API
API function
.NET:
HushHush.MaskingLogic.SSRS.Mask.SINRandom(string data)
Expected input
Data: Valid Social Insurance Number (can contain extra characters separators)
Expected output
Generic USA SIN (nvarchar(MAX))
Error handling
Returns an empty string when passing empty or NULL value. Fails on invalid SIN format
Example
.NET:
HushHush.MaskingLogic.SSRS.Mask.SINRandom(“987 654 321”)