Fixed minor typo in variable name
Set default encryption mode to "cbc".