Base32(3pm) User Contributed Perl Documentation Base32(3pm)NAME
MIME::Base32 - Base32 encoder / decoder
SYNOPSIS
# RFC forces the [A-Z2-7] RFC-3548 compliant encoding
# default encoding [0-9A-V] is for backward compatibility with pre v1.0
use MIME::Base32 qw( RFC );
$encoded = MIME::Base32::encode($text_or_binary_data);
$decoded = MIME::Base32::decode($encoded);
DESCRIPTION
Encode data similar way like MIME::Base64 does.
Main purpose is to create encrypted text used as id or key entry typed-or-submitted by user. It is upper/lowercase safe (not sensitive).
EXPORT
ALLWAYS NOTHING
AUTHOR
Daniel Peder, sponsored by Infoset s.r.o., Czech Republic <Daniel.Peder@InfoSet.COM> http://www.infoset.com
COPYRIGHT
Copyright (c) 2003-2010 Daniel Peder. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
NOTE
Version 1.02 provides minor changes only: - added COPYRIGHT according to FEDORA & DEBIAN community requests - test.pl - extended test
string (just for sure ;)
SEE ALSO perl(1), MIME::Base64(3pm).
perl v5.10.1 2010-08-25 Base32(3pm)
Check Out this Related Man Page
MIME::Base64::URLSafe(3pm) User Contributed Perl Documentation MIME::Base64::URLSafe(3pm)NAME
MIME::Base64::URLSafe - Perl version of Python's URL-safe base64 codec
SYNOPSIS
use MIME::Base64::URLSafe;
$encoded = urlsafe_b64encode('Alladdin: open sesame');
$decoded = urlsafe_b64decode($encoded);
DESCRIPTION
This module is a perl version of python's URL-safe base64 encoder / decoder.
When embedding binary data in URL, it is preferable to use base64 encoding. However, two characters ('+' and '/') used in the standard
base64 encoding have special meanings in URLs, often leading to re-encoding with URL-encoding, or worse, interoperability problems.
To overcome the problem, the module provides a variation of base64 codec compatible with python's urlsafe_b64encode / urlsafe_b64decode.
Modification rules from base64:
use '-' and '_' instead of '+' and '/'
no line feeds
no trailing equals (=)
The following functions are provided:
urlsafe_b64encode($str)
urlsafe_b64decode($str)
If you prefer not to import these routines to your namespace, you can call them as:
use MIME::Base64::URLSafe ();
$encoded = MIME::Base64::URLSafe::encode($decoded);
$decoded = MIME::Base64::URLSafe::decode($encoded);
SEE ALSO
MIME::Base64
Fore more discussion on using base64 encoding in URL applications, see: http://en.wikipedia.org/wiki/Base64#URL_Applications
AUTHOR
Kazuho Oku <kazuho ___at___ labs.cybozu.co.jp>
Copyright (C) 2006 Cybozu Labs, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or,
at your option, any later version of Perl 5 you may have available.
perl v5.8.8 2006-01-05 MIME::Base64::URLSafe(3pm)
I'm now studying as junior student in VSB-TUO university in Czech Republic. My teacher give me some tasks about sh programming. he always ask about : to access file, del sime string in this...or access system like count sum of files and count how many files in this address... or talk this people... (2 Replies)
I RECENTLY LOADED FEDORA LINUX ALL 4CD/S(FULL INSTALL).
but i am getting no sound,no proper help documentation.what should i do. Please help. (7 Replies)
Hello sir,
I have recently installed FEDORA 10. The LAN is default "disabled" every time when when I boot. So I am going to the "Networks" and manually enabling it.
:) Can you please tell me how to change the settings so that I can get it automatically enabled when I switch on and boot into... (1 Reply)
My salary is 800$ per month and I have invited in Czech Republic as an AIX administrator giving me 1000 euro... if I go to Czech republic I will have additional problems such as flat for living and transport.. so would you recommend me to go there dear friends? :-) I am hesitating and don't know... (3 Replies)
I need to convert a binary file which in encoded using base32 encoding technique and convert that into readible ASCII so that i can load the same in DB.
is there any command to do the same.
sample from the binary file lools like :
... (18 Replies)