Package fr.dyade.aaa.common.crypto
Class VoidTool
- java.lang.Object
-
- fr.dyade.aaa.common.crypto.VoidTool
-
-
Constructor Summary
Constructors Constructor Description VoidTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]decrypt(byte[] cipherText)byte[]decrypt(byte[] cipherText, byte[] nonce)byte[]decrypt(byte[] cipherText, int offset, int length)byte[]decrypt(byte[] cipherText, int offset, int length, byte[] nonce)byte[]encrypt(byte[] clearText)byte[]encrypt(byte[] clearText, byte[] nonce)byte[]encrypt(byte[] clearText, int offset, int length)byte[]encrypt(byte[] clearText, int offset, int length, byte[] nonce)
-
-
-
Method Detail
-
encrypt
public byte[] encrypt(byte[] clearText) throws GeneralSecurityException- Specified by:
encryptin interfaceCrypto- Throws:
GeneralSecurityException
-
encrypt
public byte[] encrypt(byte[] clearText, byte[] nonce) throws GeneralSecurityException- Specified by:
encryptin interfaceCrypto- Throws:
GeneralSecurityException
-
encrypt
public byte[] encrypt(byte[] clearText, int offset, int length) throws GeneralSecurityException- Specified by:
encryptin interfaceCrypto- Throws:
GeneralSecurityException
-
encrypt
public byte[] encrypt(byte[] clearText, int offset, int length, byte[] nonce) throws GeneralSecurityException- Specified by:
encryptin interfaceCrypto- Throws:
GeneralSecurityException
-
decrypt
public byte[] decrypt(byte[] cipherText) throws GeneralSecurityException- Specified by:
decryptin interfaceCrypto- Throws:
GeneralSecurityException
-
decrypt
public byte[] decrypt(byte[] cipherText, byte[] nonce) throws GeneralSecurityException- Specified by:
decryptin interfaceCrypto- Throws:
GeneralSecurityException
-
decrypt
public byte[] decrypt(byte[] cipherText, int offset, int length) throws GeneralSecurityException- Specified by:
decryptin interfaceCrypto- Throws:
GeneralSecurityException
-
decrypt
public byte[] decrypt(byte[] cipherText, int offset, int length, byte[] nonce) throws GeneralSecurityException- Specified by:
decryptin interfaceCrypto- Throws:
GeneralSecurityException
-
-