com.fuse.security
Class VerySimpleSecretKey

java.lang.Object
  extended by com.fuse.security.VerySimpleSecretKey
All Implemented Interfaces:
SecretKey

public class VerySimpleSecretKey
extends java.lang.Object
implements SecretKey

Very simple SecretKey-implementation. Everyone should create their own.


Constructor Summary
VerySimpleSecretKey()
           
 
Method Summary
 java.lang.String decodeKey(java.lang.String key)
          Solves a key and returns the answer
 java.lang.String generateKey()
          Returns a key which client has to solve
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerySimpleSecretKey

public VerySimpleSecretKey()
Method Detail

generateKey

public java.lang.String generateKey()
Returns a key which client has to solve

Specified by:
generateKey in interface SecretKey

decodeKey

public java.lang.String decodeKey(java.lang.String key)
Solves a key and returns the answer

Specified by:
decodeKey in interface SecretKey

main

public static void main(java.lang.String[] args)