com.orientechnologies.jdo.utils
Class oFastEncryption
java.lang.Object
com.orientechnologies.jdo.utils.oFastEncryption
- All Implemented Interfaces:
- oEncryption
- public class oFastEncryption
- extends java.lang.Object
- implements oEncryption
Fast encryption implementation using XOR algorithm.
|
Method Summary |
void |
crypt(byte[] iBuffer,
byte[] iKey,
byte[] ioOutput)
|
void |
crypt(byte[] iBuffer,
int iBufferLen,
byte[] iKey,
int iKeyLen,
byte[] ioOutput)
|
java.lang.String |
crypt(byte[] iBuffer,
java.lang.String iKey)
|
byte[] |
crypt(java.lang.String iBuffer,
java.lang.String iKey)
|
void |
decrypt(byte[] iBuffer,
int iBufferLen,
byte[] iKey,
int iKeyLen,
byte[] ioOutput)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
oFastEncryption
public oFastEncryption()
crypt
public byte[] crypt(java.lang.String iBuffer,
java.lang.String iKey)
crypt
public java.lang.String crypt(byte[] iBuffer,
java.lang.String iKey)
crypt
public void crypt(byte[] iBuffer,
byte[] iKey,
byte[] ioOutput)
- Specified by:
crypt in interface oEncryption
crypt
public void crypt(byte[] iBuffer,
int iBufferLen,
byte[] iKey,
int iKeyLen,
byte[] ioOutput)
- Specified by:
crypt in interface oEncryption
decrypt
public void decrypt(byte[] iBuffer,
int iBufferLen,
byte[] iKey,
int iKeyLen,
byte[] ioOutput)
- Specified by:
decrypt in interface oEncryption