NAME

Aut::Base64 -- Base64 encoding/decoding for Aut.

ABSTRACT

This module encapsulates MIME::Base64. It sees to it that encoded strings that terminate with a newline ('\n') are chomped. This has been done to facilitate Aut Backends that loose trailing newlines (like Config::Inifiles).

If trailing newlines (whitespace) is lost, hashing algorithms start to behave different for strings that appear the same.

DESCRIPTION

new() --> Aut::Base64

    Instantiates a new Aut::Base64 object.

encode(text) --> base64 string

    Encodes text into a base64 string using MIME::Base64's encode_base64() function and chomps it.

decode(base64 string)) --> string

    Decodes base64 text using MIME::Base64's decode_base64().

AUTHOR

Hans Oesterholt-Dijkema <oesterhol@cpan.org>

COPYRIGHT AND LICENSE

(c)2004 Hans Oesterholt-Dijkema, This module is distributed under Artistic license.