com.orientechnologies.jdo.utils
Interface oEncryption

All Known Implementing Classes:
oFastEncryption

public interface oEncryption

Encryption interface to encrypt and decrypt byte arrays giving a key.


Method Summary
 void crypt(byte[] iBuffer, byte[] iKey, byte[] ioOutput)
           
 void crypt(byte[] iBuffer, int iBufferLen, byte[] iKey, int iKeyLen, byte[] ioOutput)
           
 void decrypt(byte[] iBuffer, int iBufferLen, byte[] iKey, int iKeyLen, byte[] ioOutput)
           
 

Method Detail

crypt

public void crypt(byte[] iBuffer,
                  byte[] iKey,
                  byte[] ioOutput)

crypt

public void crypt(byte[] iBuffer,
                  int iBufferLen,
                  byte[] iKey,
                  int iKeyLen,
                  byte[] ioOutput)

decrypt

public void decrypt(byte[] iBuffer,
                    int iBufferLen,
                    byte[] iKey,
                    int iKeyLen,
                    byte[] ioOutput)