added decode and encode encryption functions for phone numbers