Encrypt given data using des-cbc cipher algo. DES in CBC (Cipher Block Chaining) mode, where each block is XOR'd with the previous ciphertext block before encryption. DES in CBC mode was one of the most commonly used encryption methods for decades, offering better security than ECB. CBC mode improves upon DES, but DES itself is now considered insecure due to its short key length. Our encryption process prepends the IV string used during the encryption process in the encrypted data so that it can be used during decryption.