org.openmobileis.database.fastobjectdb.db.crypto
Class AcmeBlowfishCypher
java.lang.Object
org.openmobileis.database.fastobjectdb.db.crypto.AcmeBlowfishCypher
- All Implemented Interfaces:
- FODBCypher, java.io.Serializable
- public final class AcmeBlowfishCypher
- extends java.lang.Object
- implements FODBCypher
Blowfish cypher use to encrypt a collection object data.
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AcmeBlowfishCypher
public AcmeBlowfishCypher()
AcmeBlowfishCypher
public AcmeBlowfishCypher(java.lang.String key)
encryptObject
public byte[] encryptObject(byte[] object)
throws java.io.IOException
- Specified by:
encryptObject
in interface FODBCypher
- Throws:
java.io.IOException
decryptObject
public byte[] decryptObject(byte[] object)
throws java.io.IOException
- Specified by:
decryptObject
in interface FODBCypher
- Throws:
java.io.IOException
setKey
public void setKey(byte[] key)
- Specified by:
setKey
in interface FODBCypher
setKey
public void setKey(java.lang.String key)
main
public static void main(java.lang.String[] args)
Copyright 2006 OpenMobileIS. All Rights Reserved.