Uses of Class
org.cryptacular.CryptoException
Packages that use CryptoException
-
Uses of CryptoException in org.cryptacular.adapter
Methods in org.cryptacular.adapter that throw CryptoExceptionModifier and TypeMethodDescriptionint
AEADBlockCipherAdapter.doFinal
(byte[] out, int outOff) int
BlockCipherAdapter.doFinal
(byte[] out, int outOff) Finish the encryption/decryption operation (e.g.int
BufferedBlockCipherAdapter.doFinal
(byte[] out, int outOff) void
AEADBlockCipherAdapter.init
(boolean forEncryption, org.bouncycastle.crypto.CipherParameters params) void
BufferedBlockCipherAdapter.init
(boolean forEncryption, org.bouncycastle.crypto.CipherParameters params) void
CipherAdapter.init
(boolean forEncryption, org.bouncycastle.crypto.CipherParameters params) Initialize the underlying cipher.int
AEADBlockCipherAdapter.processBytes
(byte[] in, int inOff, int len, byte[] out, int outOff) int
BufferedBlockCipherAdapter.processBytes
(byte[] in, int inOff, int len, byte[] out, int outOff) int
CipherAdapter.processBytes
(byte[] in, int inOff, int len, byte[] out, int outOff) Process an array of bytes, producing output if necessary. -
Uses of CryptoException in org.cryptacular.bean
Methods in org.cryptacular.bean that throw CryptoExceptionModifier and TypeMethodDescriptionboolean
Compares a bcrypt hash of the form$2n$cost$xxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
with the computed hash from the given password.boolean
Compares a known hash value with the hash of the given data.boolean
Compares a known hash value with the hash of the given data.boolean
Compares a known hash value with the hash of the given data.byte[]
AbstractCipherBean.decrypt
(byte[] input) void
AbstractCipherBean.decrypt
(InputStream input, OutputStream output) byte[]
CipherBean.decrypt
(byte[] input) Decrypts the input data using a block cipher.void
CipherBean.decrypt
(InputStream input, OutputStream output) Decrypts the data from the input stream onto the output stream using a symmetric cipher.byte[]
AbstractCipherBean.encrypt
(byte[] input) void
AbstractCipherBean.encrypt
(InputStream input, OutputStream output) byte[]
CipherBean.encrypt
(byte[] input) Encrypts the input data using a symmetric cipher.void
CipherBean.encrypt
(InputStream input, OutputStream output) Encrypts the data from the input stream onto the output stream using a symmetric cipher.Compute a bcrypt hash of the form$2n$cost$xxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
given a salt and a password.Hashes the given data.Hashes the given data.byte[]
-
Uses of CryptoException in org.cryptacular.util
Methods in org.cryptacular.util that throw CryptoExceptionModifier and TypeMethodDescriptionstatic boolean
HashUtil.compareHash
(org.bouncycastle.crypto.Digest digest, byte[] hash, int iterations, Object... data) Determines whether the hash of the given input equals a known value.static boolean
HashUtil.compareHash
(org.bouncycastle.crypto.Digest digest, SaltedHash hash, int iterations, boolean saltAfterData, Object... data) Determines whether the salted hash of the given input equals a known hash value.static byte[]
Decrypts data using the given block cipher with PKCS5 padding.static void
CipherUtil.decrypt
(org.bouncycastle.crypto.BlockCipher cipher, SecretKey key, InputStream input, OutputStream output) Decrypts data using the given block cipher with PKCS5 padding.static byte[]
CipherUtil.decrypt
(org.bouncycastle.crypto.modes.AEADBlockCipher cipher, SecretKey key, byte[] data) Decrypts data using an AEAD cipher.static void
CipherUtil.decrypt
(org.bouncycastle.crypto.modes.AEADBlockCipher cipher, SecretKey key, InputStream input, OutputStream output) Decrypts data using an AEAD cipher.static byte[]
CipherUtil.encrypt
(org.bouncycastle.crypto.BlockCipher cipher, SecretKey key, Nonce nonce, byte[] data) Encrypts data using the given block cipher with PKCS5 padding.static void
CipherUtil.encrypt
(org.bouncycastle.crypto.BlockCipher cipher, SecretKey key, Nonce nonce, InputStream input, OutputStream output) Encrypts data using the given block cipher with PKCS5 padding.static byte[]
CipherUtil.encrypt
(org.bouncycastle.crypto.modes.AEADBlockCipher cipher, SecretKey key, Nonce nonce, byte[] data) Encrypts data using an AEAD cipher.static void
CipherUtil.encrypt
(org.bouncycastle.crypto.modes.AEADBlockCipher cipher, SecretKey key, Nonce nonce, InputStream input, OutputStream output) Encrypts data using an AEAD cipher.static byte[]
Computes the iterated hash of the given data using the given algorithm.static byte[]
Computes the hash of the given data using the given algorithm.static boolean
KeyPairUtil.isKeyPair
(DSAPublicKey pubKey, DSAPrivateKey privKey) Determines whether the given DSA public and private keys form a proper key pair by computing and verifying a digital signature with the keys.static boolean
KeyPairUtil.isKeyPair
(ECPublicKey pubKey, ECPrivateKey privKey) Determines whether the given EC public and private keys form a proper key pair by computing and verifying a digital signature with the keys.static boolean
KeyPairUtil.isKeyPair
(RSAPublicKey pubKey, RSAPrivateKey privKey) Determines whether the given RSA public and private keys form a proper key pair by computing and verifying a digital signature with the keys.static boolean
KeyPairUtil.isKeyPair
(PublicKey pubKey, PrivateKey privKey) Determines whether the given public and private keys form a proper key pair by computing and verifying a digital signature with the keys.