Phone Number

Encrypts/Decrypts string containing a phone number in any of the following formats:

NPA-NXX-XXXX

(NPA) NXX-XXXX

NPA NXX XXXX

NPANXXXXXX
 

The result will be a string which looks like a phone number in the same format as the input string. The encrypted date will be valid date. Two different phone numbers with the same NPA values (that is belonging to the same area codes need not create an outputs that have the same NPA values.

Example:

Input : (770) 564-0097

Output : (893) 641-3426

Encryption Service URL: https://services.cipherworks.io/cwEncrypt?keyContext=BigRing-BigKey-2.0&plainText='(770) 564-0097'&type=PHONE_NUMBER&tweak=01234567