William Herrera > Crypt-ECDSA-0.069 > Crypt::ECDSA::Curve::Prime

Download:
Crypt-ECDSA-0.069.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.063   Source  

NAME ^

Crypt::ECDSA::Curve::Prime -- Elliptic curves over F(q), with q prime, for EC cryptography

DESCRIPTION ^

  These are for use with Crypt::ECDSA and require Math::BigInt::GMP.
new
  Delegated to base class Crypt::ECDSA::Curve
is_on_curve
  return 1 if (x, y) is on the curve, otherwise undef.
add_on_curve
 Add a point on the curve to itself or another
subtract_on_curve
 Subtract a point on the curve.  Addition of an additive inverse.
double_on_curve
  Double a point on the curve.   
  Returns a new point.  Note this does NOT change the original point.
inverse_on_curve
  get a point's additive inverse on the curve: (x, y) becomes (x, -y)
multiply_on_curve
  my $Q = $G * n;

  Multiply a curve point by a scalar.  
  Note this should always be Point * scalar, not scalar * Point.
is_weak_curve
  tests for known weak curve parameters
from_octet
  Constructs a Point from an ASN.1 DER coded octet (compressed or uncompressed formats)  
to_octet
  Converts the Point into an ASN.1 DER encoded octet format

FUNCTIONS

equation
  Return ascii string representation of the field equation

AUTHOR ^

   William Herrera B<wherrera@skylightview.com>. 

SUPPORT ^

Questions, feature requests and bug reports should go to <wherrera@skylightview.com>.

COPYRIGHT ^

Copyright (c) 2007 William Herrera. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.