Conversion Algorithms |
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||
|
||||||||||||||||
No need to fear change... |
This section deals with converting data.
One example of each conversion that is important based on what is simplest, most common, and easiest to code.
- The Byte section covers Binary to Text converters that are principally used to transfer binary files across text mediums like e-mail and the Web, through text-only protocols like SMTP and HTTP.
- Convert colours from HSL hues to RGB values.
- Compress and Decompress using the LZW algorithm (because it's used in .gif files and they are common).
- For Encryption I've provided classes for RC4 and RC6 algorithms because they only need a small amount of code. The RC4 can be used with the JavaScript RC4 code I provide. RC6 encryption is no worse than AES but because everyone uses AES, hackers are less likely to spend time cracking RC6.
- Convert integer numbers into English words.
- Convert English words into similar sounds using Metaphones helping prevent users from misspelling company names in database input forms!