Skip to content

Add 9 more FPE examples for common data types#24

Merged
kpdyer merged 1 commit into
masterfrom
example-email-encryption
Jan 9, 2026
Merged

Add 9 more FPE examples for common data types#24
kpdyer merged 1 commit into
masterfrom
example-email-encryption

Conversation

@kpdyer
Copy link
Copy Markdown
Owner

@kpdyer kpdyer commented Jan 9, 2026

Examples for:

  • Credit card numbers (13-19 digits, various formats)
  • Phone numbers (with country code preservation)
  • Social Security Numbers (SSN)
  • Dates of birth (various formats)
  • ZIP/postal codes (US and Canadian)
  • Bank account numbers and IBANs
  • IP addresses (IPv4 and IPv6)
  • License plate numbers
  • Medical record numbers (MRN)
  • Usernames

Each example includes encrypt/decrypt functions with format preservation.

Examples for:
- Credit card numbers (13-19 digits, various formats)
- Phone numbers (with country code preservation)
- Social Security Numbers (SSN)
- Dates of birth (various formats)
- ZIP/postal codes (US and Canadian)
- Bank account numbers and IBANs
- IP addresses (IPv4 and IPv6)
- License plate numbers
- Medical record numbers (MRN)
- Usernames

Each example includes encrypt/decrypt functions with format preservation.
@kpdyer kpdyer merged commit 2322a88 into master Jan 9, 2026
5 checks passed
@kpdyer kpdyer deleted the example-email-encryption branch January 9, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant