commit | b42af172c463f5ac0e5b36c39b9c8c0f328624ce | [log] [tgz] |
---|---|---|
author | Donald Stufft <donald@stufft.io> | Sat Aug 10 14:32:08 2013 -0400 |
committer | Donald Stufft <donald@stufft.io> | Sat Aug 10 14:32:08 2013 -0400 |
tree | 9f6d58b682b0b8e0317423788fc0b13e71f6f4c7 | |
parent | a2e1f54907d880bfe48ac6030dbec52a17b67d1f [diff] |
Ensure that a BlockCipher can only be used for one operation This prevents trying to call encrypt() and then decrypt() on a block cipher. It also enables finalize() to know what type of finalization to call.