Query: convert::base32
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Convert::Base32(3pm) User Contributed Perl Documentation Convert::Base32(3pm)NAMEConvert::Base32 - Encoding and decoding of base32 stringsSYNOPSISuse Convert::Base32; $encoded = encode_base32("x3ax27x0fx93"); $decoded = decode_base32($encoded);DESCRIPTIONThis module provides functions to convert string from / to Base32 encoding, specified in RACE internet-draft. The Base32 encoding is designed to encode non-ASCII characters in DNS-compatible host name parts. See http://tools.ietf.org/html/draft-ietf-idn-race-03 for more details.FUNCTIONSFollowing functions are provided; like "MIME::Base64", they are in @EXPORT array. See Exporter for details. encode_base32($str) Encode data by calling the encode_base32() function. This function takes a string of bytes to encode and returns the encoded base32 string. decode_base32($str) Decode a base32 string by calling the decode_base32() function. This function takes a string to decode and returns the decoded string. This function might throw the exceptions such as "Data contains non-base32 characters", "Length of data invalid" and "Padding bits at the end of output buffer are not all zero". decode_base32 differs from the specification in that upper case letters are treated as their lower case equivalent rather than producing an error.AUTHORTatsuhiko Miyagawa <miyagawa@bulknews.net> Eric Brine <ikegami@adaelis.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.SEE ALSOhttp://www.ietf.org/internet-drafts/draft-ietf-idn-race-03.txt, MIME::Base64, Convert::RACE. perl v5.14.2 2012-03-31 Convert::Base32(3pm)
Related Man Pages |
---|
base32(n) - mojave |
base32hex(n) - mojave |
base32hex(3tcl) - debian |
base32(n) - suse |
convert::ytext(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
Introduction |
How to copy a column of multiple files and paste into new excel file (next to column)? |