GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CRYPT::DSA::UTIL (3)

.ds Aq ’

NAME

Crypt::DSA::Util - DSA Utility functions

CONTENTS

SYNOPSIS



    use Crypt::DSA::Util qw( func1 func2 ... );



DESCRIPTION

Crypt::DSA::Util contains a set of exportable utility functions used through the Crypt::DSA set of libraries.

    bitsize($n)

Returns the number of bits in the Math::Pari integer object $n.

    bin2mp($string)

Given a string $string of any length, treats the string as a base-256 representation of an integer, and returns that integer, a Math::Pari object.

    mp2bin($int)

Given a biginteger $int (a Math::Pari object), linearizes the integer into an octet string, and returns the octet string.

mod_exp($a, CW$exp, CW$n)

Computes $a ^ $exp mod $n and returns the value. The calculations are done using Math::Pari, and the return value is a Math::Pari object.

mod_inverse($a, CW$n)

Computes the multiplicative inverse of $a mod $n and returns the value. The calculations are done using Math::Pari, and the return value is a Math::Pari object.

AUTHOR & COPYRIGHTS

Please see the Crypt::DSA manpage for author, copyright, and license information.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CRYPT::DSA::UTIL (3) 2011-06-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.