Crypt::DSA::Util(3pm) - phpMan

Command: man perldoc info search(apropos)  


Crypt::DSA::Util(3pm)          User Contributed Perl Documentation          Crypt::DSA::Util(3pm)



NAME
       Crypt::DSA::Util - DSA Utility functions

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, $exp, $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, $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.



perl v5.10.0                                2006-05-02                      Crypt::DSA::Util(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-22 18:23 @38.107.179.239 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!