Add hashing to block cipher