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::RSA::DATAFORMAT (3)

.ds Aq ’

NAME

Crypt::RSA::DataFormat - Data creation, conversion and reporting primitives.

CONTENTS

DESCRIPTION

This module implements several data creation, conversion and reporting primitives used throughout the Crypt::RSA implementation. Primitives are available as exportable functions.

FUNCTIONS

<B>i2ospB> Integer, Length Integer To Octet String Primitive. Converts an integer into its equivalent octet string representation of length <B>LengthB>. If necessary, the resulting string is prefixed with nulls. If <B>LengthB> is not provided, returns an octet string of shortest possible length.
<B>h2ospB> Hex String Hex To Octet String Primitive. Converts a hex string into its equivalent octet string representation and returns an octet string of shortest possible length. The hex string is not prefixed with 0x, etc.
<B>os2ipB> String Octet String to Integer Primitive. Converts an octet string into its equivalent integer representation.
<B>generate_random_octetB> Length, Strength Generates a random octet string of length <B>LengthB>. <B>StrengthB> specifies the degree of randomness. See Crypt::Random(3) for an explanation of the <B>StrengthB> parameter.
<B>bitsizeB> Integer Returns the length of the <B>IntegerB> in bits.
<B>octet_lenB> Integer Returns the octet length of the integer. If the length is not a whole number, the fractional part is dropped to make it whole.
<B>octet_xorB> String1, String2 Returns the result of <B>String1B> XOR <B>String2B>.
<B>steakB> String, Length Returns an array of segments of length <B>LengthB> from <B>StringB>. The final segment can be smaller than <B>LengthB>.

AUTHOR

Vipul Ved Prakash, <mail@vipul.net>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CRYPT::RSA::DATAFORMAT (3) 2008-07-06

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