encrypt

public static String encrypt(String str)

MD5 Encryption

Return

The encrypted string

Parameters

str

The string to be encrypted


public static String encrypt(String str, boolean lowerCase)

MD5 Encryption

Return

The encrypted string

Parameters

str

The string to be encrypted

lowerCase

Indicates whether the result should be in lowercase