Skip to content
/ ffx Public

Format-preserving, Feistel-based cryptography command-line interface

License

Notifications You must be signed in to change notification settings

burret/ffx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Format-preserving, Feistel-based cryptography command-line interface

“Format Preserving Encryption is a method which allows the basic formatting of a message to stay in a similar format, and where the value itself is encrypted. It can be used to hide credit card details.” — Bill Buchanan

Examples

$ echo 8005551212 | python ffx.py -e mypassword 0123456789
9441166894
$ echo 9441166894 | python ffx.py -d mypassword 0123456789
8005551212
$ echo '+😊qwerty🍦*' | python ffx.py -e secret-squirrel '*+😊🍦abcdefghijklmnopqrstuvwxyz'
rgmty🍦udpv
$ echo 'rgmty🍦udpv' | python ffx.py -d secret-squirrel '*+😊🍦abcdefghijklmnopqrstuvwxyz'
+😊qwerty🍦*
$ 

References

About

Format-preserving, Feistel-based cryptography command-line interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages