public
Description: Crypt::PBC is an OO interface for the Stanford PBC
Homepage: http://search.cpan.org/perldoc?Crypt::PBC
Clone URL: git://github.com/jettero/crypt--pbc.git
name age message
file .gitignore Wed Jul 29 08:52:02 -0700 2009 ignore this stuff (updates) [jettero]
file Changes Loading commit data...
file MANIFEST Thu Jul 30 13:00:49 -0700 2009 forgot to manifest this [jettero]
file MANIFEST.SKIP
file Makefile.PL Thu Jul 30 12:58:47 -0700 2009 theoretically, this checks for the right versio... [jettero]
file PBC.pm
file PBC.xs
file README Mon Aug 11 09:03:44 -0700 2008 note on the autobuild [jettero]
file TODO Sun Aug 10 03:49:21 -0700 2008 added year to TODO [jettero]
directory contrib/ Thu Jul 30 12:34:13 -0700 2009 typo [jettero]
file earith.xs
file ecomp.xs Wed Nov 15 11:59:28 -0800 2006 split out all those nasty .xs files [jettero]
file einit.xs Sun Dec 10 07:27:35 -0800 2006 added element_from_bytes and set_to_bytes [jettero]
directory inc/
directory lib/
file pairing.xs Thu Jul 30 10:20:44 -0700 2009 took out those warnings [jettero]
file params_a.txt
file params_d.txt
file params_d159.txt Thu Jun 21 06:07:03 -0700 2007 I've still not finished this mess... [jettero]
file params_e.txt Sat Dec 02 06:22:00 -0800 2006 lol [jettero]
file pbctest.c Fri Jan 26 09:16:19 -0800 2007 readded the pbctest.c [jettero]
file ppport.h
directory t/
file typemap Sat Nov 18 08:19:01 -0800 2006 ./ci [jettero]
README
LIBPBC

This is tested against libpbc version 0.4.18 .

(The v0.8+ builds will pull the right version of libpbc and try to build it on some platforms.)

COPYRIGHT

Copyright (C) 2008 by Paul Miller

SYNOPSIS

    use Crypt::PBC;

    my $pairing = new Crypt::PBC("params_d.txt");
    my $G1      = $pairing->init_G1->random;
    my $G2      = $pairing->init_G2->random->double->square;
    my $GT      = $pairing->init_GT->pairing_apply( $G1, $G2 );

-----------------------------

"Chapter 1. Overview"

The following text is the Overview chapter from the PBC library
documentation:

    The PBC library is a free portable C library designed to make it
    easy to implement pairing-based cryptosystems. It provides an
    abstract interface to a cyclic group with a bilinear pairing, and
    the programmer does not need to worry about, or even know about
    elliptic curves.

    It is built on top of GMP, another C library which performs
    arbitrary precision arithmetic on integers, rationals and floats
    with strong emphasis on portability and speed.

    The PBC library homepage: http://crypto.stanford.edu/pbc/

    The GMP library homepage: http://www.swox.com/gmp/