| |
|
| java.lang.Object velosurf.util.DESCryptograph
DESCryptograph | public class DESCryptograph implements Cryptograph(Code) | | Implemenation of the cryptograph for the DES algorithm.
Inspired from some code found at http://javaalmanac.com/
author: Claude Brisson |
dcipher | Cipher dcipher(Code) | | decryption cypher
|
ecipher | Cipher ecipher(Code) | | encryption cypher
|
DESCryptograph | public DESCryptograph()(Code) | | Constructor.
|
decrypt | public String decrypt(String str)(Code) | | Decrypt a string.
Parameters: str - string to decrypt decrypted string |
encrypt | public String encrypt(String str)(Code) | | encrypt a string.
Parameters: str - string to encrypt encrypted string |
init | public void init(String random)(Code) | | initialization.
Parameters: random - random string |
main | public static void main(String args)(Code) | | test method
Parameters: args - not used |
|
|
|