velosurf.util
Interface Cryptograph

All Known Implementing Classes:
DESCryptograph

public interface Cryptograph

Cryptograph - used to encrypt and decrypt strings.

Author:
Claude Brisson

Method Summary
 java.lang.String decrypt(java.lang.String str)
          decrypt.
 java.lang.String encrypt(java.lang.String str)
          encrypt.
 void init(java.lang.String random)
          init.
 

Method Detail

init

void init(java.lang.String random)
init.

Parameters:
random - random string

encrypt

java.lang.String encrypt(java.lang.String str)
encrypt.

Parameters:
str - string to encrypt
Returns:
encrypted string

decrypt

java.lang.String decrypt(java.lang.String str)
decrypt.

Parameters:
str - string to decrypt
Returns:
decrypted string


~ooOoo~