TEXT RECODED - application software
Version 2.1.1
The Text Recoded program offers the following operations on textual or binary data:
- Hashing
- Recoding
- Cyphering
HASHING
The purpose of hashing is to validate the integrity of data. Adding or removing even a single character produces a completely different hash code. Text Recoded produces three kinds of hash codes: MD5, SHA1 and SHA2. For binary data, such as a file, the hash codes are calculated from the raw bytes. For text typed or pasted into the input box, three hash codes are produced, each for a different formatting of the text:
ENT (entire): calculated for the whole text exactly as entered, with all its spaces and new lines.
RAW: calculated for the text without any spaces, tabs or new lines, whether before, inside or after the text.
FMT (formatted): calculated for the text with its internal spaces and new lines kept, but with the empty lines before and after the text removed and each line trimmed of spaces at its start and end.
Windows ends a line with two characters (CR+LF), while Linux and Android use only one (LF). The same text therefore gives different ENT and FMT hash codes depending on the new-line style, so choose the style of the system on which the hash code will be verified. In Hashing, use the Windows / Linux selector next to the Paste and Clear buttons; in Recoding and Cyphering, use the New line setting in Options. The RAW hash code is not affected, because it contains no new lines.
The hash codes can be copied from the program as they are, or exported as an XML report that describes the data and holds its hash codes. Note that the XML report carries only the RAW and FMT hash codes of textual data.
RECODING
The Text Recoded program recodes textual and binary data between plain text, or the bytes of a file, and the Hexadecimal or Base64 encodings. It can also recode data that is already encoded in one of these encodings into the other, for example from Hexadecimal to Base64 and vice versa. To validate the integrity of the recoded output, the program can also produce the hash codes described above.
CYPHERING
The Text Recoded program uses a Caesar-type cipher to encrypt and decrypt data. It is a simple substitution cipher that can be used to signal: "this is my personal data and I do not want others to see it", and in many cases that is enough. However, it is not suitable for protecting sensitive data, such as passwords and private keys, because it is not difficult to break, as the following explanation will show.
As an example of the encryption and decryption procedure, we will use "TEXT" as the input data and "test" as the key. Each character of the input text has a numerical code (for the basic Latin letters used here, its ASCII code). When encrypting, the program adds the numerical code of the corresponding key character to each code of the input data; when decrypting, it subtracts the same value from the encrypted data. If the key is shorter than the data, it is used repeatedly. The result is always kept between 0 and 255: if a sum exceeds 255, then 256 is subtracted from it (and when subtracting, 256 is added to a negative result).
To validate the integrity of the encrypted output, the program can also produce the hash codes described above.
Text Recoded - a tool for recoding, ciphering and hashing textual or binary data