Encrypt/decrypt Text with a hotkey

Post your working scripts, libraries and tools
User avatar
AlleyArtwork
Posts: 30
Joined: 09 Jun 2015, 21:08

Encrypt/decrypt Text with a hotkey

23 Apr 2018, 22:49

This might seem silly but I wanted to be able to quickly be able send encrypted messages over company IM, slack, email, etc.
It could be venting over a sensitive topic, it could be relaying a new password-safe master password to the team, or sending messages while people may be nearby that you'd rather them not catch a glimpse if they're over your shoulder.
I made adjustments to the original function's output methods for quick text messaging of any kind, feel free to modify or improve!

This might be overkill but I combined 2 encryption methods I found on the forums (could not find original topic for B64 but I linked to RC4 post in comments).
It is a cascading cipher, and the Key is automatically set to daily changing variables, with the option to use a custom key instead of the daily rotating default key.

Use:
- Highlight Plain Text and press CTRL+E to encrypt it and overwrite plain text with encrypted text, then you can send your message/IM/email etc.
- Highlight Encrypted Text and press CTRL+D to decrypt it and display the message in a MsgBox pop up.
- pass key automatically changes daily while encrypting or decrypting. During the hotkey press you have a prompt to use a completely custom pass key as well.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

loop {
MsgBox, Life is like an Infinite Message Box of chocolates.`nThere are %a_index% chocolates in this box.
}
carno
Posts: 120
Joined: 20 Jun 2014, 16:48

Re: Encrypt/decrypt Text with a hotkey

30 Jun 2018, 23:16

Also, this:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 41 guests