Name

md5 — calculate MD5 sum of input

DESCRIPTION

The filter outputs MD5 sum for the input text.

EXAMPLES

Example: Filter example

[filter md5][/filter]
[filter md5]One[/filter]
[filter md5]Two[/filter]
[filter md5]MyPassword[/filter]
[filter md5]Very long string[/filter]
Example in action:
              d41d8cd98f00b204e9800998ecf8427e
06c2cea18679d64399783748fa367bdd
aada29daee1d64ed0fe907043855cb7e
48503dfd58720bd5ff35c102065a52d7
4ca88d91b7d8a1205eb9ad7b1ad34db0
            

NOTES

AVAILABILITY

md5 is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: code/Filter/md5.filter
Lines: 20


# Copyright 2002-2007 Interchange Development Group and others
# Copyright 1996-2002 Red Hat, Inc.
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.  See the LICENSE file for details.
# 
# $Id: md5.filter,v 1.5 2007-03-30 23:40:45 pajamian Exp $

CodeDef md5 Filter
CodeDef md5 Description MD5 sum
CodeDef md5 Routine <<EOR

use Digest::MD5;

sub {
return Digest::MD5::md5_hex($_[0]);
}
EOR

AUTHORS

Interchange Development Group

SEE ALSO

sha1(7ic)

DocBook! Interchange!