{"categories":[{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography/2"}],"enrichment":{"capability":"Implements NIST FF3 and FF3-1 format-preserving encryption (FPE) algorithms to encrypt data while preserving its format\u2014digits remain digits, custom alphabets remain within their alphabet.","skillfed_tags":["format-preserving-encryption","withdrawn-standard","feistel-cipher"],"use_cases":["Encrypt credit card numbers or bank account identifiers while preserving their numeric format for legacy systems that validate digit-only strings.","Tokenize personally identifiable information (PII) like social security numbers or driver license numbers in a reversible, format-preserving way.","Encrypt custom identifiers (e.g., order IDs, patient records) using a custom alphabet while maintaining the original character set.","Educational and research exploration of format-preserving encryption and Feistel cipher design.","Reversible data obfuscation for testing or development environments where you need to mask real data but recover it later."],"what_it_does":"FF3 is a Python implementation of the NIST FF3 and FF3-1 format-preserving encryption algorithms. It encrypts data using a Feistel cipher while keeping the output in the same format as the input\u2014numbers stay numbers, custom alphabets stay within their alphabet. This makes it useful for encrypting sensitive data like credit card numbers or identification codes while maintaining their original structure for systems that expect a specific format.\n\nThe package depends only on pycryptodome for AES encryption and supports radix values from 2 to 256, allowing encryption of digits, alphanumeric strings, or custom character sets. It includes command-line tools (ff3_encrypt, ff3_decrypt) and passes official NIST test vectors. However, the description explicitly notes that NIST withdrew FF3 from its standard in February 2025 due to published vulnerabilities, and the package carries no warranty. It is intended for developers and researchers familiar with cryptographic standards.","worth_installing":"No\u2014not for new production systems. NIST formally withdrew FF3 from its standard in February 2025 due to published vulnerabilities. The package itself carries no warranty and is explicitly labeled for educational and experimental use only. If you have an existing FF3 deployment, this implementation passes official test vectors, but for new projects requiring format-preserving encryption, you should evaluate alternatives or wait for NIST's approved successor. Use only if you fully understand the cryptographic risks and your threat model accepts them."},"id":"ff3","links":{"html":"https://skillfed.io/packages/ff3","md":"https://skillfed.io/packages/ff3.md","pypi":"https://pypi.org/project/ff3/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-26","license_spdx":null,"license_treatment":"permissive","name":"ff3","python_support":"supports_current","summary":"Format Preserving Encryption (FPE) with FF3"},"popularity":{"monthly_downloads":217379,"position":9359,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.3"}
