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 TypeMethodDescriptionintAEADBlockCipherAdapter.doFinal(byte[] out, int outOff) intBlockCipherAdapter.doFinal(byte[] out, int outOff) Finish the encryption/decryption operation (e.g. apply padding).intBufferedBlockCipherAdapter.doFinal(byte[] out, int outOff) voidAEADBlockCipherAdapter.init(boolean forEncryption, org.bouncycastle.crypto.CipherParameters params) voidBufferedBlockCipherAdapter.init(boolean forEncryption, org.bouncycastle.crypto.CipherParameters params) voidCipherAdapter.init(boolean forEncryption, org.bouncycastle.crypto.CipherParameters params) Initialize the underlying cipher.intAEADBlockCipherAdapter.processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) intBufferedBlockCipherAdapter.processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) intCipherAdapter.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 TypeMethodDescriptionbooleanBCryptHashBean.compare(CharSequence hash, Object... data) Compares a bcrypt hash of the form$2n$cost$xxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyywith the computed hash from the given password.booleanEncodingHashBean.compare(CharSequence hash, Object... data) Compares a known hash value with the hash of the given data.booleanCompares a known hash value with the hash of the given data.booleanCompares a known hash value with the hash of the given data.byte[]AbstractCipherBean.decrypt(byte[] input) voidAbstractCipherBean.decrypt(InputStream input, OutputStream output) byte[]CipherBean.decrypt(byte[] input) Decrypts the input data using a block cipher.voidCipherBean.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) voidAbstractCipherBean.encrypt(InputStream input, OutputStream output) byte[]CipherBean.encrypt(byte[] input) Encrypts the input data using a symmetric cipher.voidCipherBean.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$xxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyygiven 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 booleanHashUtil.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 booleanHashUtil.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 voidCipherUtil.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 voidCipherUtil.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 voidCipherUtil.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 voidCipherUtil.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 booleanKeyPairUtil.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 booleanKeyPairUtil.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 booleanKeyPairUtil.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 booleanKeyPairUtil.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.