Updated the encrypt function specification
Updated the keystream function specification