ostore.client
Class ClientCryptModule
java.lang.Object
|
+--ostore.client.ClientCryptModule
- public class ClientCryptModule
- extends Object
- Version:
- $Id: ClientCryptModule.java,v 1.7 2003/08/27 20:36:57 eaton Exp $
- Author:
- Patrick R. Eaton, Jeff Pang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientCryptModule
public ClientCryptModule()
getInstance
public static ClientCryptModule getInstance()
setKey
public void setKey(SecureHash guid,
Key key)
unsetKey
public void unsetKey(SecureHash guid)
encrypt
public byte[] encrypt(SecureHash guid,
byte[] plaintext)
decrypt
public byte[] decrypt(SecureHash guid,
byte[] ciphertext)
main
public static void main(String[] args)
throws Exception
Exception