MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / trifid_cipher.py

File trifid_cipher.py

ciphers/trifid_cipher.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2The trifid cipher uses a table to fractionate each plaintext letter into a trigram,
3mixes the constituents of the trigrams, and then applies the table in reverse to turn
4these mixed trigrams into ciphertext letters.

Callers

nothing calls this directly

Calls 2

encrypt_messageFunction · 0.70
decrypt_messageFunction · 0.70

Tested by

no test coverage detected