App-Muter
view release on metacpan or search on metacpan
Extended Hex Alphabet encoding, better known as C<base32hex>.
Accepts one option, C<manual>, which does the same thing as for C<base32>.
=head2 base64
Implements the L<RFC 4648|https://tools.ietf.org/html/rfc4648> Base64 encoding.
=head2 form
Implements URI percent encoding, like C<uri>, except it encodes space as C<+>
instead of C<%20>, as for use in I<application/x-www-form-urlencoded>. This
used to be written C<uri(form)>, which is no longer allowed.
Otherwise accepts the same options as C<uri> (C<lower> and C<upper>).
=head2 hash
Implements a cryptographic hash of the input data. There is no corresponding
reverse transform.
Implements the identity transform. Passes through the input unmodified.
=head2 quotedprintable
Implements quoted-printable MIME encoding. With the option C<smtp>, encodes "."
and "From " if they appear at the beginning of a line (including beginning of
input).
=head2 uri
Implements URI percent encoding.
Takes two possible options. C<lower> and C<upper> control the type of hex
character emitted.
=head2 url64
Implements the L<RFC 4648|https://tools.ietf.org/html/rfc4648> Base64 Encdoing
with URL and Filename Safe Alphabet.
=head2 uuencode
=back
=head1 EXAMPLES
=over 4
=item B<muter> B<-c> -base64:uri
Decode the standard input as Base64 and output it, encoding it using URI
percent-encoding.
=item B<muter> B<-r> B<-c> -uri:base64
Exactly the same as the above.
=item B<muter> B<-c> -hex:hash(sha256):base64 I<file>
Read from I<file>, which contains a single hex-encoded string, hash the result
with SHA-256, and encode the result as base64. This chain could also be written
as C<-hex:hash,sha256:base64>, which may be easier to type.
( run in 0.422 second using v1.01-cache-2.11-cpan-05162d3a2b1 )