1Convert::Base64(3) User Contributed Perl Documentation Convert::Base64(3)
2
3
4
6 Convert::Base64 - Encoding and decoding of Base64 strings
7
9 version 0.001
10
12 use Convert::Base64;
13
14 $encoded = encode_base64("\x3a\x27\x0f\x93");
15 $decoded = decode_base64($encoded);
16
18 This module provides functions to convert strings to/from the Base64
19 encoding as described in RFC 4648.
20
21 Its implemented as a light wrapper over MIME::Base64.
22
24 • "encode_base64"
25
26 my $encoded = encode_base64("foo");
27
28 Encode a string of bytes into its Base64 representation.
29
30 • "decode_base64"
31
32 my $decoded = encode_base64("Zm9v");
33
34 Decode a Base64 string into a string of bytes.
35
37 • MIME::Base64 - the classic Base64 implementation for Perl, used
38 internally by this module
39
40 • Convert::Base32 - the original inspiration for this module
41
42 • <http://tools.ietf.org/html/rfc4648> - the Base64 specification
43
45 Bugs / Feature Requests
46 Please report bugs or feature requests through the issue tracker at
47 <https://github.com/robn/Convert-Base64/issues>. You will be notified
48 automatically of any progress on your issue.
49
50 Source Code
51 This is open source software. The code repository is available for
52 public review and contribution under the terms of the license.
53
54 <https://github.com/robn/Convert-Base64>
55
56 git clone https://github.com/robn/Convert-Base64.git
57
59 • Robert Norris <rob@eatenbyagrue.org>
60
62 This software is copyright (c) 2014 by Robert Norris.
63
64 This is free software; you can redistribute it and/or modify it under
65 the same terms as the Perl 5 programming language system itself.
66
67
68
69perl v5.32.1 2021-01-27 Convert::Base64(3)