Class ODESEncryption
java.lang.Object
com.orientechnologies.orient.core.encryption.impl.OAbstractEncryption
com.orientechnologies.orient.core.encryption.impl.ODESEncryption
- All Implemented Interfaces:
OEncryption
* Stateful compression implementation that encrypt the content using DES algorithm
(https://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html). Issue
https://github.com/orientechnologies/orientdb/issues/89.
- Author:
- giastfader This implementation uses DES and ECB mode and is thus not secure. See https://github.com/orientechnologies/orientdb/issues/8207.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]encryptOrDecrypt(int mode, byte[] input, int offset, int length) *name()Methods inherited from class com.orientechnologies.orient.core.encryption.impl.OAbstractEncryption
decrypt, decrypt, encrypt, encrypt
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ODESEncryption
public ODESEncryption()
-
-
Method Details
-
name
-
configure
-
encryptOrDecrypt
Description copied from class:OAbstractEncryption*- Specified by:
encryptOrDecryptin classOAbstractEncryption- Parameters:
mode- it can be Cipher.ENCRYPT_MODE or Cipher.DECRYPT_MODE- Returns:
- Throws:
Exception
-