Start of endcryption/decryption