| java.lang.Object org.sakaiproject.user.impl.OneWayHash
OneWayHash | public class OneWayHash (Code) | |
OneWayHash converts a plain text string into an encoded string.
|
Method Summary | |
public static String | encode(String clear, boolean truncated) Encode the clear text into an encoded form. |
encode | public static String encode(String clear, boolean truncated)(Code) | | Encode the clear text into an encoded form.
Parameters: clear - The text to encode. Parameters: truncated - return a value truncated as we used to be before fixing SAK-5922 (works only with MD5 algorithm base64'ed) The encoded and base64'ed text. |
|
|