This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

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.

View code on GitHub
  • Owner

  • Contributors

    +6Github contributors
  • Categories

  • Programming Languages

    C
  • License

    GNU Lesser General Public License v2.1

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.