|
Buju 0.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbiz.bbeans.util.BDigest
Digest which produces a human-readable hash. Singleton.
| Method Summary | |
String |
encrypt(String plaintext)
Encrypt the plain text. |
static BDigest |
getInstance()
Get or create the singleton instance of BDigest. |
static void |
main(String[] args)
Usage: BDigest password1 [password2 password3 ...] |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public String encrypt(String plaintext)
throws NoSuchAlgorithmException,
UnsupportedEncodingException
plaintext - Plain text message or password.
NoSuchAlgorithmException - If the encryption algorithm
is not supported.
UnsupportedEncodingException - If UTF-8 character set
encoding is not supported.public static BDigest getInstance()
public static void main(String[] args)
|
Buju 0.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||