Giter Club home page Giter Club logo

mime-base32's Introduction

NAME

MIME::Base32 - Base32 encoder and decoder

SYNOPSIS

#!/usr/bin/env perl
use strict;
use warnings;
use MIME::Base32;

my $encoded = encode_base32('Aladdin: open sesame');
my $decoded = decode_base32($encoded);

DESCRIPTION

This module is for encoding/decoding data much the way that MIME::Base64 does.

Prior to version 1.0, MIME::Base32 used 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, MIME::Base32 uses the encode_base32 and decode_base32 functions by default.

FUNCTIONS

The following primary functions are provided:

decode

Synonym for decode_base32

decode_rfc3548

Synonym for decode_base32

decode_base32

my $string = decode_base32($encoded_data);

Decode some encoded data back into a string of text or binary data.

decode_09AV

Synonym for decode_base32hex

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.

encode

Synonym for encode_base32

encode_rfc3548

Synonym for encode_base32

encode_base32

my $encoded = encode_base32("some string");

Encode a string of text or binary data.

encode_09AV

Synonym for encode_base32hex

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.

AUTHORS

Jens Rehsack - <[email protected]> - Current maintainer

Chase Whitener

Daniel Peder - sponsored by Infoset s.r.o., Czech Republic

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.

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.

Any and all criticism, bug reports, enhancements, fixes, etc. are appreciated.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc MIME::Base32

You can also look for information at:

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.

SEE ALSO

MIME::Base64, RFC-3548

mime-base32's People

Contributors

genio avatar rehsack avatar jwittkoski avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.