Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## it.gotoandplay.smartfoxserver.crypto
Class MD5

    java.lang.Object
      it.gotoandplay.smartfoxserver.crypto.MD5

    public class MD5

extends java.lang.Object

This is a simple singleton utility class providing MD5 hashes

Method Summary
`java.lang.String` | `getHash(java.lang.String s)` Generate the md5 hash
`static MD5` | `instance()` Return the one and only instance of this class

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### instance

    public static MD5 instance()

  Return the one and only instance of this class

  Returns:
    the instance

### getHash

    public java.lang.String getHash(java.lang.String s)

  Generate the md5 hash

  Parameters:
    `s` - a string
  Returns:
    a 32 character long string with the hex representation of the hash.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD