* @brief Convenience function to perform block cipher operations. The * operations are identical for both encryption and decryption. * * @param text input text to encrypt or decrypt * @param key key for encryption or decryption * @return encrypted/decrypted output */