ENCRYPT: allow selecting a key algorithm and specifying an IV parameter
Merge pull request #131 from tristantarrant/encrypt_iv

ENCRYPT: allow selecting a key algorithm and specifying an IV parameter