Skip to content

cnsuhao/libfnr

 
 

Repository files navigation

libFNR - A reference implementation library for FNR encryption scheme.

FNR represents "Flexible Naor and Reingold"

FNR is a small domain block cipher for encrypting objects ( < 128 bits ) like IPv4, MAC, Credit Card numbers, Time Stamps etc.

INSTALL

NOTE : openssl latest version (> openssl-1.0.1e) needs to be installed

# The bootstrap.sh step is only ncessary if you are building from a
# git clone; it is not necessary if you are building from a libfnr
# tarball.
$ bootstrap.sh

$ ./configure --enable-debug=yes
$ make

RUN

$ cd test
$ ./ipv4test -p password -t  tweak -f raw-ips

IMPORTANT: This is an experimental cipher, not for production yet.

Motivation and Applications of this scheme could be found at http://cisco.github.io/libfnr/

Java extensions for this library could be found at https://github.com/cisco/jfnr

Details of the Specification could be found in doc/Spec directory

Report bugs to libfnr-dev@external.cisco.com

FNR is designed by

Copyright (C) 2014-2015, Cisco Systems, Inc.

About

FNR is a small domain block cipher to encrypt small objects ( < 128 bits )

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.4%
  • M4 4.2%
  • Python 3.3%
  • Makefile 2.0%
  • Shell 0.1%