Changed blockCipherInit to throw ProtocolException and added test