Template::Plugin::Digest::MD5

Template::Plugin::Digest::MD5 is a TT2 interface to the MD5 Algorithm.
Download

Template::Plugin::Digest::MD5 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Andrew Ford
  • Publisher web site:
  • http://search.cpan.org/~andrewf/LaTeX-Driver-0.07/lib/LaTeX/Driver.pm

Template::Plugin::Digest::MD5 Tags


Template::Plugin::Digest::MD5 Description

Template::Plugin::Digest::MD5 is a TT2 interface to the MD5 Algorithm. Template::Plugin::Digest::MD5 is a TT2 interface to the MD5 Algorithm.SYNOPSIS The Digest.MD5 Template Toolkit plugin provides access to the MD5 algorithm via the Digest::MD5 module. It is used like a plugin but installs filters and vmethods into the current context.When you invoke the following filters (and vmethods of the same name) are installed into the current context:md5Calculate the MD5 digest of the input, and return it in binary form. The returned string will be 16 bytes long.md5_hexSame as md5, but will return the digest in hexadecimal form. The length of the returned string will be 32 and it will only contain characters from this set: '0'..'9' and 'a'..'f'.md5_base64Same as md5, but will return the digest as a base64 encoded string. The length of the returned string will be 22 and it will only contain characters from this set: 'A'..'Z', 'a'..'z', '0'..'9', '+' and '/'.Note that the base64 encoded string returned is not padded to be a multiple of 4 bytes long. If you want interoperability with other base64 encoded md5 digests you might want to append the redundant string "==" to the result.As the filters are also available as vmethods the following are all equivalent: FILTER md5_hex; content; END; content FILTER md5_hex; content.md5_base64;Requirements:· Perl Requirements: · Perl


Template::Plugin::Digest::MD5 Related Software