|
| static String | createHash (String algorithm, String message) |
| |
| static byte[] | getBytes (File directory) throws Exception |
| |
Utility class implementing MD5 hash function used to protect passwords.
- Author
- Maciej Szewczykowski :: macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
- Version
- 1.0
- Since
- 1.0
◆ createHash()
| static String eu.baltrad.dex.util.MessageDigestUtil.createHash |
( |
String | algorithm, |
|
|
String | message ) |
|
inlinestatic |
Create message hash.
- Parameters
-
| algorithm | Algorithm |
| message | Input message |
- Returns
- Message hash
◆ getBytes()
| static byte[] eu.baltrad.dex.util.MessageDigestUtil.getBytes |
( |
File | directory | ) |
throws Exception |
|
inlinestatic |
Reads file or directory into byte array.
- Parameters
-
| directory | File or directory to read |
| bytes | Byte array |
- Returns
- Byte array
- Exceptions
-
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/util/MessageDigestUtil.java