Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 354 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 354 Bytes

Obfuscate

A library to obfuscate certain types of strings.

Usage

Email

Obfuscate.Email("bob.bobertson@gmail.com"); // bo****n@gmail.com
Obfuscate.Email("bob@gmail.com"); // b****@gmail.com

Phone

Obfuscate.Phone("07770123456"); // 07****56

Name

Obfuscate.Name("Bob", "Bobertson"); // B**** Bo****