|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of CryptorException in org.cryptonode.jncryptor |
---|
Subclasses of CryptorException in org.cryptonode.jncryptor | |
---|---|
class |
InvalidHMACException
An InvalidHMACException is thrown when the HMAC value is incorrect,
indicating that the data is corrupted. |
Methods in org.cryptonode.jncryptor that throw CryptorException | |
---|---|
byte[] |
JNCryptor.decryptData(byte[] ciphertext,
char[] password)
Decrypts data with the supplied password. |
byte[] |
AES256JNCryptor.decryptData(byte[] ciphertext,
char[] password)
|
byte[] |
JNCryptor.decryptData(byte[] ciphertext,
SecretKey decryptionKey,
SecretKey hmacKey)
Decrypts data with the supplied keys. |
byte[] |
AES256JNCryptor.decryptData(byte[] ciphertext,
SecretKey decryptionKey,
SecretKey hmacKey)
|
byte[] |
JNCryptor.encryptData(byte[] plaintext,
char[] password)
Encrypts data with the supplied password. |
byte[] |
AES256JNCryptor.encryptData(byte[] plaintext,
char[] password)
|
byte[] |
JNCryptor.encryptData(byte[] plaintext,
char[] password,
byte[] encryptionSalt,
byte[] hmacSalt,
byte[] iv)
Encrypts data with the supplied password, salt values and IV. |
byte[] |
AES256JNCryptor.encryptData(byte[] plaintext,
char[] password,
byte[] encryptionSalt,
byte[] hmacSalt,
byte[] iv)
|
byte[] |
JNCryptor.encryptData(byte[] plaintext,
PasswordKey encryptionKey,
PasswordKey hmacKey)
Encrypts data using pre-computed keys, producing data in the password output format (i.e. |
byte[] |
AES256JNCryptor.encryptData(byte[] plaintext,
PasswordKey encryptionKey,
PasswordKey hmacKey)
|
byte[] |
JNCryptor.encryptData(byte[] plaintext,
SecretKey encryptionKey,
SecretKey hmacKey)
Encrypts data with the supplied keys. |
byte[] |
AES256JNCryptor.encryptData(byte[] plaintext,
SecretKey encryptionKey,
SecretKey hmacKey)
|
PasswordKey |
JNCryptor.getPasswordKey(char[] password)
Generates a key from a password and a random salt. |
PasswordKey |
AES256JNCryptor.getPasswordKey(char[] password)
|
SecretKey |
JNCryptor.keyForPassword(char[] password,
byte[] salt)
Generates a key given a password and salt using a PBKDF. |
SecretKey |
AES256JNCryptor.keyForPassword(char[] password,
byte[] salt)
|
Constructors in org.cryptonode.jncryptor that throw CryptorException | |
---|---|
AES256JNCryptorOutputStream(OutputStream out,
char[] password)
Creates an output stream for password-encrypted data. |
|
AES256JNCryptorOutputStream(OutputStream out,
char[] password,
int iterations)
Creates an output stream for password-encrypted data, using a specific number of PBKDF iterations. |
|
AES256JNCryptorOutputStream(OutputStream out,
SecretKey encryptionKey,
SecretKey hmacKey)
Creates an output stream for key-encrypted data. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |