public static String md2Hex ( String data , Charset charset ) throws NoSuchAlgorithmException { return md2Hex ( data . getBytes ( charset ) ) ; }
Hashes a string using the MD2 algorithm . Returns a hexadecimal result .