The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

DESCRIPTION

  These are for use with Crypt::ECDSA, a Math::GMPz based cryptography module.
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.

3 POD Errors

The following errors were encountered while parsing the POD:

Around line 280:

'=item' outside of any '=over'

Around line 290:

You forgot a '=back' before '=head1'

Around line 301:

=over without closing =back