Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Crypt::ECDSA::Point 0.069

    Download button

    No screenshots available
    Downloads: 630  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Very Good (4.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    William Herrera | More programs
    Perl Artistic License / FREE
    August 19th, 2008, 10:01 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Crypt::ECDSA::Point description

    Crypt::ECDSA::Point is a Perl module that contains elliptic curve points for EC cryptography.

    Crypt::ECDSA::Point is a Perl module that contains elliptic curve points for EC cryptography.

    METHODS

    new

    Constructor. Takes the following named pair arguments:

    X => x coordinate,
    Y => y coordinate,
    curve => Crypt::ECDSA::Curve derived curve,
    order => point order,
    is_infinity => set to 1 if this is to be the point at infinity (optional)

    X

    Returns or sets the point's x coordinate

    Y

    Returns or sets the point's y coordinate

    order

    returns or sets the point order, if known

    order

    Returns or sets the Crypt::ECDSA::Curve upon which the point exists

    is_point_at_infinity

    Returns 1 if the point is the point at infinity for the EC curve,
    otherwise undef.

    deep_copy

    Overloaded to '='
    Returns a new point that copies the internals of the point (a cloned copy
    rather than just a reference).

    add

    my $P3 = $P1 + $P2;

    Overloaded to '+'
    Returns the point that is the sum of two points on the curve

    double

    my $double = $p->double();

    returns a point that is the point's double on the curve.

    multiply

    my $Q = $G * $d;

    Multiply a point by a scalar (not a point by a point!)

    Overloaded to '*'
    Note: in order to be sure the proper multiply is done, I suggest that a mutiply
    of point $P by scalar $k be written $P * $k, not $k * $P.

    is_equal_to

    if( $p1 == $p2) { ; }

    Overloaded to '=='
    Returns 1 if the points are equal (on the same curve as well).

    Class Internal Functions

    curve
    from_octet
    inverse
    is_on_curve
    to_octet

    Requirements:

    · Perl



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    elliptic curve points | EC cryptography | Perl module | cryptography | curve | points

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM