Started Encryption function