Author image Rob N ★
and 1 contributors

NAME

Convert::Base64 - Encoding and decoding of Base64 strings

VERSION

version 0.001

SYNOPSIS

  use Convert::Base64;

  $encoded = encode_base64("\x3a\x27\x0f\x93");
  $decoded = decode_base64($encoded);

DESCRIPTION

This module provides functions to convert strings to/from the Base64 encoding as described in RFC 4648.

Its implemented as a light wrapper over MIME::Base64.

FUNCTIONS

  • encode_base64

        my $encoded = encode_base64("foo");

    Encode a string of bytes into its Base64 representation.

  • decode_base64

        my $decoded = encode_base64("Zm9v");

    Decode a Base64 string into a string of bytes.

SEE ALSO

SUPPORT

Bugs / Feature Requests

Please report bugs or feature requests through the issue tracker at https://github.com/robn/Convert-Base64/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

https://github.com/robn/Convert-Base64

  git clone https://github.com/robn/Convert-Base64.git

AUTHORS

  • Robert Norris <rob@eatenbyagrue.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Robert Norris.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.