Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 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::OpenPGP::Util 1.03

    Download button

    No screenshots available
    Downloads: 332  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Benjamin Trott | More programs
    Perl Artistic License / FREE
    September 5th, 2008, 16:28 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Crypt::OpenPGP::Util description

    Perl module with miscellaneous utility functions.

    Crypt::OpenPGP::Util is a Perl module with miscellaneous utility functions.

    SYNOPSIS

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

    Crypt::OpenPGP::Util contains a set of exportable utility functions used through the Crypt::OpenPGP 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.
    canonical_text($text)

    Takes a piece of text content $text and formats it into PGP canonical text, where: 1) all whitespace at the end of lines is stripped, and 2) all line endings are made up of a carriage return followed by a line feed. Returns the canonical form of the text.
    dash_escape($text)

    Escapes $text for use in a cleartext signature; the escaping looks for any line starting with a dash, and on such lines prepends a dash ('-') followed by a space (' '). Returns the escaped text.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    utility functions | OpenPGP utilities | Perl module | OpenPGP | cryptography | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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