Uses of Class
org.cryptacular.CryptoException

Packages that use CryptoException
  • Uses of CryptoException in org.cryptacular.adapter

    Modifier and Type
    Method
    Description
    int
    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

    Modifier and Type
    Method
    Description
    boolean
    BCryptHashBean.compare(String hash, Object... data)
    Compares a bcrypt hash of the form $2n$cost$xxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy with the computed hash from the given password.
    boolean
    EncodingHashBean.compare(String hash, Object... data)
    Compares a known hash value with the hash of the given data.
    boolean
    HashBean.compare(T hash, Object... data)
    Compares a known hash value with the hash of the given data.
    boolean
    SimpleHashBean.compare(byte[] hash, Object... data)
    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.
    BCryptHashBean.hash(Object... data)
    Compute a bcrypt hash of the form $2n$cost$xxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy given a salt and a password.
    EncodingHashBean.hash(Object... data)
    Hashes the given data.
    HashBean.hash(Object... data)
    Hashes the given data.
    byte[]
    SimpleHashBean.hash(Object... data)
     
  • Uses of CryptoException in org.cryptacular.util

    Modifier and Type
    Method
    Description
    static 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[]
    CipherUtil.decrypt(org.bouncycastle.crypto.BlockCipher cipher, SecretKey key, byte[] data)
    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[]
    HashUtil.hash(org.bouncycastle.crypto.Digest digest, int iterations, Object... data)
    Computes the iterated hash of the given data using the given algorithm.
    static byte[]
    HashUtil.hash(org.bouncycastle.crypto.Digest digest, Object... data)
    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.