scot.butzbach.net

Projects

If you want to view the old layout of the website, press the first button below.

Projects

Twenty Crypt

License: None
A text cipher that encodes segments of twenty characters in twenty steps.


Disclaimer

Twenty Crypt does not provide a verified secure method of encryption. The creator is not at fault for misuse of this program. Use at your own risk.


Download

The latest version is 1.1. Hover over the hash names to see the checksums.

Extract the archive into your current working directory, navigate to it, then read below.

For Linux and macOS users: Twenty Crypt does not automatically have executable permissions allowed. Run the following command before using Twenty Crypt:

chmod +x twce twcd

How to Use

Twenty Crypt comes with a few things: twce (Text Encoder), twcd (Text Decoder), and the Microsoft .NET 6 Runtime components that make Twenty Crypt a standalone .NET app.

From your command line, type the following:

twce "the twenty sentences" "2007131320"

On Windows, it's the exact same thing:

twce "the twenty sentences" "2007131320"

Put quotes around the string to make sure the cipher gets the entire string. Also, put quotes around the key for good measure.

If typed correctly, your output should look like this:

twce "the twenty sentences" "2007131320"
Twenty Crypt Text Cipher by Scot Butzbach
Text Encoder

Twenty Crypt does not provide a verified secure method of encryption.
The creator is not at fault for misuse of this program. Use at your own risk.

Original text: the twenty sentences
 Encoded text: TWxSNHQxNGhiYm1SUWNvNT11NTN5SGV6R0tjaQ==
Write down the key to remember it.

the twenty sentences is encoded into TWxSNHQxNGhiYm1SUWNvNT11NTN5SGV6R0tjaQ==. Now, you may think this is a plain Base64 string. However, when you decode the Base64 string normally, you'll get MlR4t14hbbmRQco5=u53yHezGKci. That doesn't look like a valid Base64 string to me. However, this cipher does not guarantee secure data encryption.

Each string sent to the program is separated into segments of twenty characters. If a segment is less than twenty characters, spaces are added to the end until the segment is twenty characters long.

Initial string less than twenty characters:

twce "the twenty sentence" "2007131320"
Twenty Crypt Text Cipher by Scot Butzbach
Text Encoder

Twenty Crypt does not provide a verified secure method of encryption.
The creator is not at fault for misuse of this program. Use at your own risk.

Original text: the twenty sentence
 Encoded text: TWxSNHQxNGhiYm1SUW1vNT11NTN5b2V6R0tjaQ==
Write down the key to remember it.

Initial string more than twenty characters:

twce "the twentieth sentence" "2007131320"
Twenty Crypt Text Cipher by Scot Butzbach
Text Encoder

Twenty Crypt does not provide a verified secure method of encryption.
The creator is not at fault for misuse of this program. Use at your own risk.

Original text: the twentieth sentence
 Encoded text: TWxSNHQ1NFJiUm1hUW1vNT11NUFvR2V6R2Vjbg==TWdnSWdnZ2dpaW5peWlNTT1NTU1vb0tvb29vaQ==
Write down the key to remember it.

Twenty Crypt also comes with a text decoder. Run the following in your prompt:

twcd "TWxSNHQxNGhiYm1SUWNvNT11NTN5SGV6R0tjaQ==" "2007131320"

The output should be:

twcd "TWxSNHQxNGhiYm1SUWNvNT11NTN5SGV6R0tjaQ==" "2007131320"
Twenty Crypt Text Cipher by Scot Butzbach
Text Decoder

Twenty Crypt does not provide a verified secure method of encryption.
The creator is not at fault for misuse of this program. Use at your own risk.

Original text: TWxSNHQxNGhiYm1SUWNvNT11NTN5SGV6R0tjaQ==
 Decoded text: the twenty sentences

There you go, that's how the encoder and decoder work. The inputted string must be a multiple of 40 characters and contain valid Base64 strings.

Initial string with multiple Base64 strings:

twcd "TWxSNHQ1NFJiUm1hUW1vNT11NUFvR2V6R2Vjbg==TWdnSWdnZ2dpaW5peWlNTT1NTU1vb0tvb29vaQ==" "2007131320"
Twenty Crypt Text Cipher by Scot Butzbach
Text Decoder

Twenty Crypt does not provide a verified secure method of encryption.
The creator is not at fault for misuse of this program. Use at your own risk.

Original text: TWxSNHQ1NFJiUm1hUW1vNT11NUFvR2V6R2Vjbg==TWdnSWdnZ2dpaW5peWlNTT1NTU1vb0tvb29vaQ==
 Decoded text: the twentieth sentence

Key Syntax

The key is a ten digit string, holding five two-digit values. Let's look at the key from the previous examples: 2007131320

  • 20 - A number between 1 and 25
  • 07 - A number between 1 and 19
  • 13 - A number between 1 and 27
  • 13 - A number between 1 and 27
  • 20 - A number between 1 and 25

Any value that is out of these bounds will not be accepted by the program, and text will not be encoded or decoded. Also, single digit numbers must have a leading zero to fit the value format, seen in the second example value (07).


Older Archives

These archives below are older versions of Twenty Crypt and should no longer be used.

Version 1.0

This version has a default key of 2007131320 and a different algorithm. This version did not feature a key argument upon execution.


  • twenty-crypt-1.0-linux-x64.tar.xz | Linux x64
    MD5: 9708d8e738e1807fae954c86b3a21493
    SHA1: 89100fb54ea93bb4e4c769b83887c168456606e6
    SHA256: dfc14de6fe0460780db4264dface434ac35d5e514684dbd8f9d5395b98659176
    SHA512: feb5cd6762fe215a7caa2449391a8f4c301430ff54f522a724d826ce1469ceefae472b423efb8b009667b26e83ac0b38f39b8be2ba8129da33ad2691f983bbbc

  • twenty-crypt-1.0-osx-x64.tar.xz | macOS x64
    MD5: c50c2fb7f342f4c34395a12f154ea457
    SHA1: 43b2fcabdf345bc54ed6db54e2e55e6830d40bd5
    SHA256: ec3079481b0df9f91ce1cf430b51f502fc3e0337f4c2ba4586f0ac3c06cc6f55
    SHA512: d7885a839a0fff6530df1ba33a49d268b597b37af42bfb86d2a5574fb200409fd6b764a8e6779c809c22cff2c47380a4315131a635d4b1eaf53b0bb91c01ef6b

  • twenty-crypt-1.0-windows-x64.zip | Windows x64
    MD5: 6b2c12fba54cc667f1892b5e20843404
    SHA1: 91814804d5a551325e38d817f8d7f07edee26c26
    SHA256: 99a598f9faf396201f73e17d6623ecab359e6a0e297e029c123ed3f90f403f01
    SHA512: 642438d1e7bb6b19a32478b4270fe4443cb29c5a59975fd69be9e4db96e2f6c3c9a6a705151be4601c4bd41b7a53426075d49b24f1e2e72515d96e0da79c5774