Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Sounds like you might be looking for some "classical cryptography" solutions.</p> <p>SUBSTITUTION CIPHERS are encodings where one character is substituted with another. E.g. A->Y, B->Q, C->P, and so on. The "Caesar Cipher" is a special case where the order is preserved, and the "key" is the offset. In the rot13/47 case, the "key" is 13 or 47, respectively, though it could be something like 3 (A->D, B->E, C->F, ...).</p> <hr> <p>TRANSPOSITION CIPHERS are ones that don't substitute letters, but ones that rearrange letters in a pre-defined way. For example:</p> <pre><code>CRYPTOGRAPHY </code></pre> <p>may be written as </p> <pre><code>C Y T G A H R P O R P Y </code></pre> <p>So the ciphered output is created by reading the two lines left to right</p> <pre><code>CYTGAHRPORPY </code></pre> <hr> <p>Another property of rot13/47 is that it's REVERSABLE:</p> <pre><code>encode(encode(plaintext)) == plaintext </code></pre> <p>If this is the property you want, you could simply XOR the message with a known (previously decided) XOR value. Then, XOR-ing the ciphertext with the same value will return the original plaintext. An example of this would be the <a href="http://www.gnu.org/software/libtool/manual/libc/Trivial-Encryption.html" rel="nofollow noreferrer">memfrob function</a>, which just XORs a buffer with the binary representation of the number 42.</p> <hr> <p>You also might check out other forms of ENCODINGS, such as <a href="http://en.wikipedia.org/wiki/Base64" rel="nofollow noreferrer">Base64</a> if that's closer to what you're looking for.</p> <hr> <p>!! Disclaimer - if you have data that you're actually trying to protect from anyone, don't use any of these methods. While entertaining, all of these methods are trivial to break.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload