Added encryptClipboard function