GEN-AUTH(1) User Contributed Perl Documentation GEN-AUTH(1)
gen-auth - generate various authentication strings
gen-auth [--help|--version] | <type> ...
gen-auth is tool to assist in all kinds of authentication / encoding / decoding / encrypting tasks. It began life as an smtp-specific
tool, but has drifted in functionality over time.
The program actions are broken down into types of encoding to generate. Each <type> then takes its own specific args. The arguments are
expected in a specific order on the command line. Every argument that isn't available on the command line will be prompted for. One
benefit to this is arguments corresponding to passwords will not be echoed to the terminal when prompted for.
The program action is controlled by the first argument. The meaning of the following arguments is specified by this type
PLAIN <username> <password>
This type generates a PLAIN (RFC 2595) authentication string. It accepts supplemental arguments of username and password. It
generates a Base64 encoded string "