https://github.com/htr-tech/0xtwin
Twin-Hex Cipher Encoder/Decoder
https://github.com/htr-tech/0xtwin
capture-the-flag cipher cipher-algorithms ciphertext cryptography ctf ctf-challenges ctf-tools hackthebox twin-cipher twin-hex
Last synced: 6 months ago
JSON representation
Twin-Hex Cipher Encoder/Decoder
- Host: GitHub
- URL: https://github.com/htr-tech/0xtwin
- Owner: htr-tech
- License: mit
- Created: 2023-07-23T12:44:05.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-23T13:10:25.000Z (about 2 years ago)
- Last Synced: 2025-04-15T01:11:35.579Z (6 months ago)
- Topics: capture-the-flag, cipher, cipher-algorithms, ciphertext, cryptography, ctf, ctf-challenges, ctf-tools, hackthebox, twin-cipher, twin-hex
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 18
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 0xTwin
Twin-Hex Cipher Encoder/Decoder```
_______ ___________ .__
\ _ \ ___ __\__ ___/_ _ _|__| ____
/ /_\ \\ \/ / | | \ \/ \/ / |/ \
\ \_/ \> < | | \ /| | | \
\_____ /__/\_ \ |____| \/\_/ |__|___| /
\/ \/ \/
Twin-Hex Cipher Encoder/Decoderusage: twin_cipher.py [-h] [-d] [-e] [text]
options:
-d, --decode Decode Twin-Hex
-e, --encode Encode to Twin-Hex
```### What is Twin-Hex Cipher:
In Twin-Hex Cipher, the original text gets converted into two characters at a time. I know nothing more. Check out [their website](https://www.calcresult.com/misc/cyphers/twin-hex.html)
***#HappyHacking***#
### Usage:
Simply **clone the repository**. Only python should be installed in your system.
```bash
$ git clone https://github.com/htr-tech/0xTwin
$ cd 0xTwin# For encoding text
$ python twin_cipher.py -e "FLAG{THIS_IS_TWIN_CIPHER}"# For decoding ciphertext
$ python twin_cipher.py -d "2uk2h36s42zt3tr32r4pg43t3gf2mh3l42s26w0"
```#
### Why this Github Repo??
Recently i have been participating in some CTFs. In one event I got this cipher & there was no decoder available on Github.
So, I just translated the functions from `calcresult.com` in python for offline usage.#
### Find Me on: