Relative Content

Tag Archive for pythonencryptioncryptographylets-encrypt

Format Preserving Encryption (FPE) of data less then the minimum requirement

I build a program to do the format preserving encryption in python for all types of data (numeric, alphanumeric and alphabetic) that preserves the type alpha or numeric and also the upper case and lower case
for example Hdcj213 will be encrypted to something like this Bcdg980
the only problem that I have is data less then minimum requirement
for ff3 (FPE algorithm) numeric encryption -> the minimum is 6 digits (I cannot encrypt and preserve the format of for example 492)
for alphabetic the minimum is 4 chars

Format Preserving Encryption (FPE) of data less then the minimum requirement

I build a program to do the format preserving encryption in python for all types of data (numeric, alphanumeric and alphabetic) that preserves the type alpha or numeric and also the upper case and lower case
for example Hdcj213 will be encrypted to something like this Bcdg980
the only problem that I have is data less then minimum requirement
for ff3 (FPE algorithm) numeric encryption -> the minimum is 6 digits (I cannot encrypt and preserve the format of for example 492)
for alphabetic the minimum is 4 chars