org.mmbase.util.transformers
Class MD5

java.lang.Object
  extended byorg.mmbase.util.transformers.StringTransformer
      extended byorg.mmbase.util.transformers.MD5
All Implemented Interfaces:
CharTransformer, Serializable, Transformer

public class MD5
extends StringTransformer
implements CharTransformer

Do MD5 encoding. Decoding is of course not possible. MD5 encoding can not be efficiently 'piped', because the complete String is needed. So, be careful 'chaining' it.

Version:
$Id: MD5.java,v 1.7 2003/05/12 14:33:00 kees Exp $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Constructor Summary
MD5()
           
 
Method Summary
 String toString()
           
 String transform(String r)
           
 String transformBack(String w)
           
 
Methods inherited from class org.mmbase.util.transformers.StringTransformer
transform, transform, transformBack, transformBack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mmbase.util.transformers.CharTransformer
transform, transform, transformBack, transformBack
 

Constructor Detail

MD5

public MD5()
Method Detail

toString

public String toString()
Specified by:
toString in interface Transformer

transform

public String transform(String r)
Specified by:
transform in interface CharTransformer
Specified by:
transform in class StringTransformer

transformBack

public String transformBack(String w)
Specified by:
transformBack in interface CharTransformer
Overrides:
transformBack in class StringTransformer


MMBase build 1.8.1.20060716