25 SEPTEMBER 2006
- DENCRYPTOR -
VERSION 1.60
Dencryptor (a mix between "encryptor" and "decryptor") is a script that uses a complex algorithm to encrypt and decrypt your messages. The encryption relies on a key, which can be customized so that no one (but those you choose) can read your messages.
Features: *New!
- Encrypt your message into a unique, incomprehensible encryption
- Decrypt your message into an understandable string
- Customizable key which protects your encryption
- *Five encryption character sets
- Custom block size for encryption
- *Splits messages for encryption if they are too long
- AutoEncrypt option to automatically encrypt your sent messages
- AutoDecrypt option to automatically decrypt your received messages
- *AutoKey option to automatically generate a key based on chosen contacts for AutoEncrypt and AutoDecrypt
- Save settings for multiple users
- *Configuration window
Usage:
- F3: Encrypts the text in your conversation typing box
- F4: Decrypts the text in your conversation typing box
- /DenAutoEncrypt <on/off> <key>: Automatically encrypt all your sent messages
- /DenAutoDecrypt <on/off> <key>: Automatically decrypt all your received messages
- /DenAutoDencrypt <on/off> <key>: Automatically encrypt and decrypt all your messages
- /DenAutoKey <on/off> <e-mails>: Automatically generate a key for AutoDencryption based on who you're talking to
- /DenBlockSize <size>: Change your block size for dencryption
- /DenCharacterSet <1-5>: Change your character set for dencryption
- /DenKey <key>: Change your dencryption key
- Commands are case-insensitive, second parameters are optional
Notes:
The encryption algorithm is very unique and relies on a key. When the script is started, your key is set to its default (your email).
An example of an encryption is:
code:
v29466FJ4LJmQ4h5L6gKji9LA4K296iKMKaml362954kGlEmH4d466pha
This is an encryption using a key of "ABC123". The algorithm is unique as it also employs a factor of randomness:
code:
6qLRJSTRwScSkSTSYSUSBP2R4SWPMswseR3sfrIpMris8s7sBsprjs3p2
This is in fact an encrypted form of the same message using the same key. Both encryptions, however, return the same string if the key is correct:
code:
Dencryptor is quite complex!
A slight change in the key will result in a complete change in the message. If the key is changed to "ABC1234", the message becomes an incomprehensible jumble. Even changing the case of one letter ("AbC123") will result in a major change in the decryption.
The following options are not particularly important, but can customize the appearance of your encryption and the amount of supported characters.
Dencryptor also comes with five character sets: Basic Latin, Latin-1, Latin Extended-A, Latin Extended-B and Latin Extended Additional. The Basic Latin character set (default) contains 62 characters (0-9, a-z and A-Z) while the Latin Extended Additional character set contains over 300. This means that the more complex character sets are capable of supporting more characters, though some characters may not be viewable by all contacts.
The size option also customizes the amount of supported characters. The default size is 2, meaning that each letter is represented by 2 digits (XX). Increasing this size will increase the amount of supported characters exponentially, but also add to the length of the encryption. The minimum size for the Basic Latin character set is 2 and 1 for the others. The maximum size for all sets is 5.
The AutoKey option is a function that is supposed to provide convenience to you and your cryptographic friends and works only with AutoEncrypt and/or AutoDecrypt enabled. The function generates a key based on the contact(s) that you choose. This key will be the same as the key which your friend generates if he chooses the same contact(s). For example, if you select your friend in AutoKey, and he/she selects you in AutoKey, the function will generate the same key for both of you to use. As such, you do not need to exchange a key with your friend. However, this also means that the key is potentially insecure, as others may be able to work out the key.
This script is mainly a "for fun" script, for if you want to talk to your friend in secret in a group conversation (and frustrate the other members). Note that the encryption (with a size more than 1) is many times longer than the original message, so you may want to be careful when sending long messages.
If there are any requests, I will try to implement them. Bug reports are appreciated.