Decrypt given data previously encoded with cast5-cbc cipher algo. CAST5 in CBC mode, using a 128-bit key for encryption, and XOR'ing each plaintext block with the previous ciphertext block. CAST5 is an evolution of the original CAST cipher, designed in the 1990s and used in various cryptographic applications. CAST5 is considered secure, but with the growth of more robust ciphers like AES, it is seen as somewhat outdated. Our decryption process assumes the IV string is prepended in the encoded string during the encryption process. You can not decrypt and get the correct results if the IV or passphrase mismatch occurs between encryption and decryption process.