Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

# Crypt::ECDSA::Curve 0.052

Date Added: August 05, 2010  |  Visits: 1.256

Crypt::ECDSA::Curve is a base class for ECC curves. These are for use with Crypt::ECDSA, a Math::GMPz based cryptography module. METHODS new Constructor. Takes the following named pair arguments: standard => standard-curve-name Used for named standard curves such as the NIST standard curves. Preferentially, these are invoked by classes which inherit from Crypt::ECDSA::Curve, such as Crypt::ECDSA::Curve::Prime, Crypt::ECDSA::Curve::Binary, or Crypt::ECDSA::Curve::Koblitz. See US govenment standard publications FIPS 186-2 or FIPS 186-3. used as: new(standard => standard curve name), where curve name is one of: Crypt::ECDSA::Curve::Prime->new( standard => [ one of ECP-192, ECP-224, ECP-256, ECP-384, ECP-521 ] ) Crypt::ECDSA::Curve::Koblitz->new( standard => [ one of EC2N-163, EC2N-233, EC2N-283, EC2N-409, EC2N-571 ] ) Koblitz curves are a special case of binary curves, with a simpler equation. Non-standard curve types are supported either via specifying parameters and algorithm, or by specifying a generic "standard" via specifying in new the pair: standard => generic_prime or standard => generic_binary. The following are used mainly for non-standard curve types. They are gotten from pre-defined values for named curves: p => \$p , sets curve modulus ( for prime curve over F(p) ) a => \$a, sets curve param a b => \$b, sets curve param b N => the exponent in 2**N, where 2**N is a binary curve modulus ( for binary or Koblitz curve over F(2**N) ) h => curve cofactor for the point order r => base point G order for prime curves n => base point G order for binary curves G_x => \$x, a base point x coordinate G_y => \$y, a base point y coordinate irreducible => binary curve irreducible basis polynimial in binary integer format, so that x**233 + x**74 + 1 becomes polynomial => [ 233, 74, 0 ] and irreducible => 0x20000000000000000000000000000000000000004000000000000000001 a my \$param = \$curve->a; Returns parameter a in the elliptic equation. b my \$param = \$curve->b; Returns parameter b in the elliptic equation. p my \$param = \$curve->p; returns parameter p in the equation-- this is the field modulus parameter for prime curves order my \$param = \$curve->order; Returns the curve base point G order if known. curve_order my \$param = \$curve->curve_order; Returns the curve order if known. This might calculate the order some day. It does not in this version. infinity my \$inf = \$curve->infinity; Returns a valid point at infinity for the curve. standard my \$param = \$curve->standard; Returns the standard type of the curve, if defined for the instance..

 Requirements: No special requirements Platforms: Linux Keyword: Base,  Base Class,  Base Point,  Cryptecdsacurve,  Curve,  Curves,  Ecc,  Ecdsa,  Ecp,  Libraries,  Order,  Param,  Standard Users rating: 0/10

 License: Freeware Size: 143.36 KB
USER REVIEWS
 More Reviews or Write Review
CRYPT::ECDSA::CURVE RELATED
 Libraries  -  C++ base 1.0 C++ base is a base class suite contains several powerful c++ base classes for basic encapsulation of low level operating system calls and basic library functions. Further packages you may access from this page require the installation of this... 102.4 KB Libraries  -  XML::SAX::Base 1.02 XML::SAX::Base is a base Perl class with SAX Drivers and Filters. SYNOPSIS package MyFilter; use XML::SAX::Base; @ISA = (XML::SAX::Base); This module has a very simple task - to be a base class for PerlSAX drivers and filters. Its default... 20.48 KB Libraries  -  MP3::Find::Base 0.06 MP3::Find::Base is a base class for MP3::Find backends. SYNOPSIS package MyFinder; use base MP3::Find::Base; sub search { my \$self = shift; my (\$query, \$dirs, \$sort, \$options) = @_; # do something to find and sort the mp3s... my... 29.7 KB Libraries  -  Games::LMSolve::Base 0.8.1 Games::LMSolve::Base is a base class for puzzle solvers. SYNOPSIS package MyPuzzle::Solver; use Games::LMSolve::Base; @ISA = qw(Games::LMSolve::Base); # Override these methods: sub input_board { ... } sub pack_state { ... } sub... 21.5 KB Libraries  -  Games::AlphaBeta::Position 0.4.6 Games::AlphaBeta::Position is a base Position class for use with Games::AlphaBeta. SYNOPSIS package My::GamePos; use base qw(Games::AlphaBeta::Position); sub apply { ... } sub endpos { ... } # optional sub evaluate { ... } sub findmoves... 12.29 KB Libraries  -  Games::Sequential::Position 0.4.6 Games::Sequential::Position is a base Position class for use with Games::Sequential. SYNOPSIS package My::GamePos; use base Games::Sequential::Position; sub init { ... } # setup initial state sub apply { ... } package main; my \$pos =... 12.29 KB Libraries  -  dtRdr::GUI::Wx::Tree::Base 0.0.11 dtRdr::GUI::Wx::Tree::Base is a base class for sidebar trees. SYNOPSIS init \$tree->init(\$frame); select_item Select the tree item for a given \$id. \$tree->select_item(\$id) The id is probably the id of whatever your widget associated... 2.8 MB Libraries  -  AI::NNFlex 0.24 AI::NNFlex is a base Perl class for implementing neural networks. SYNOPSIS use AI::NNFlex; my \$network = AI::NNFlex->new(config parameter=>value); \$network->add_layer( nodes=>x, activationfunction=>function); \$network->init();... 33.79 KB Libraries  -  XML::Essex::Event 0.01 XML::Essex::Event is a base event class, also used for unknown event types. Stringifies as \$event->type . "()" to indicate an event that has no natural way to represented in XML, or for ones that havent been handled yet in Essex. Methods new... 43.01 KB Programming  -  PHP Based SQL class 101 PHP base Sql class for any PHP project, simple to implement and use, wiki, docs, demo and help aval. 47.03 KB