Update
Parameterize cipher mode