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
Crypt::RSA::DataFormat(3) User Contributed Perl Documentation Crypt::RSA::DataFormat(3)

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

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

i2osp Integer, Length
Integer To Octet String Primitive. Converts an integer into its equivalent octet string representation of length Length. If necessary, the resulting string is prefixed with nulls. If Length is not provided, returns an octet string of shortest possible length.
h2osp 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.
os2ip String
Octet String to Integer Primitive. Converts an octet string into its equivalent integer representation.
generate_random_octet Length, Strength
Generates a random octet string of length Length. Strength specifies the degree of randomness. See Crypt::Random(3) for an explanation of the Strength parameter.
bitsize Integer
Returns the length of the Integer in bits.
octet_len 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.
octet_xor String1, String2
Returns the result of String1 XOR String2.
steak String, Length
Returns an array of segments of length Length from String. The final segment can be smaller than Length.

Vipul Ved Prakash, <mail@vipul.net>
2008-07-06 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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