MIME::Base32(3)
β¨ NAME β¨
MIME::Base32(3) is the manual page for MIME::Base32 β a Base32 encoder and decoder. Hi bestie, welcome to the vibe π
π SYNOPSIS π
#!/usr/bin/env perl
use strict;
use warnings;
use MIME::Base32;
my $encoded = encode_base32('Aladdin: open sesame');
my $decoded = decode_base32($encoded);
Look at that little script go β it's giving main character energy, no cap β¨
π¦ DESCRIPTION π¦
Okay so this module is for encoding/decoding data much the way that MIME::Base64 does. Obsessed with the crossover π
π¨ History lesson, bestie: prior to version1.0,MIME::Base32used the"base32hex"(or"[0-9A-V]") encoding and decoding methods by default. If you need to maintain that behavior, please call"encode_base32hex"or"decode_base32hex"functions directly.
Now, in accordance with RFC-3548, Section 5 (https://tools.ietf.org/html/rfc3548#section-5), MIME::Base32 uses the "encode_base32" and "decode_base32" functions by default. Periodt πΈ
π FUNCTIONS π
The following primary functions are provided, and they are all iconic in their own way:
decode
Synonym for "decode_base32" β same vibe, shorter name π«Ά
decode_rfc3548
Synonym for "decode_base32" β RFC-3548 girlies, this one's for you β¨
decode_base32
my $string = decode_base32($encoded_data);
Decode some encoded data back into a string of text or binary data. It's literally the reverse glow-up π
decode_09AV
Synonym for "decode_base32hex" β yes, the 09AV name is real and it slays π
decode_base32hex
my $string_or_binary_data = MIME::Base32::decode_base32hex($encoded_data);
Decode some encoded data back into a string of text or binary data. Same decoding energy, hex flavor π
encode
Synonym for "encode_base32" β lowkey the short and sweet option π
encode_rfc3548
Synonym for "encode_base32" β RFC-3548 approved, bestie π
encode_base32
my $encoded = encode_base32("some string");
Encode a string of text or binary data. Turning your data into Base32 like it's nothing π₯
encode_09AV
Synonym for "encode_base32hex" β the 09AV alias is here to serve π
encode_base32hex
my $encoded = MIME::Base32::encode_base32hex("some string");
Encode a string of text or binary data. This uses the "hex" (or "[0-9A-V]") method. Hex-coded excellence, fr fr πβ¨
π AUTHORS π
- Jens Rehsack β
<rehsack@cpan.org>β Current maintainer - Chase Whitener
- Daniel Peder β sponsored by Infoset s.r.o., Czech Republic β
<Daniel.Peder@InfoSet.COM>http://www.infoset.comβ Original author
π BUGS π
Before reporting any new issue, bug or alike, please check https://rt.cpan.org/Dist/Display.html?Queue=MIME-Base32, https://github.com/perl5-utils/MIME-Base32/issues or https://github.com/perl5-utils/MIME-Base32/pulls, respectively, whether the issue is already reported. Do your vibe check first, bestie ππ
Please report any bugs or feature requests to "bug-mime-base32 at rt.cpan.org", or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=MIME-Base32. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. Communication slay π«Ά
Any and all criticism, bug reports, enhancements, fixes, etc. are appreciated. We love feedback in this house π
π SUPPORT π
You can find documentation for this module with the perldoc command.
perldoc MIME::Base32
You can also look for information at:
- RT: CPAN's request tracker β
https://rt.cpan.org/Dist/Display.html?Name=MIME-Base32 - AnnoCPAN: Annotated CPAN documentation β
http://annocpan.org/dist/MIME-Base32 - MetaCPAN β
https://metacpan.org/release/MIME-Base32
Links for days, bestie πβ¨
π COPYRIGHT AND LICENSE INFORMATION π
Copyright (c) 2003-2010 Daniel Peder. All rights reserved. Copyright (c) 2015-2016 Chase Whitener. All rights reserved. Copyright (c) 2016 Jens Rehsack. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Legal bestie realness, periodt βοΈπ
π SEE ALSO π
MIME::Base64, RFC-3548 (https://tools.ietf.org/html/rfc3548#section-5)
And that's the tea: this page is from perl v5.42.0, dated 2024-07-20, and it's the MIME::Base32(3) manpage. Bye bestie πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: perl-MIME-Base32 1.303.0-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms