#!/bin/bash
openssl enc -bf-cbc -e -in plain.txt -out bf_cbc.bin -K 00112233445566778899aabbccddeeff -iv 0102030405060708
xxd bf_cbc.bin
openssl enc -bf-cbc -d -in bf_cbc.bin -out bf_cbc_dec.txt -K 00112233445566778899aabbccddeeff -iv 0102030405060708
cat bf_cbc_dec.txt
