Initial
Added block operations.
Removed slot state.

Renamed encode to encrypt.
Renamed decode to decrypt.