TEA cipher in CBC mode written in DRAKON Editor + C as a fun exercise.
C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pics
README.md
tea.c
tea.drn
tea.h

README.md

DRAKON-TEA

TEA cipher in CBC mode with PKCS #7 padding written in DRAKON Editor + C as a fun exercise.

Files

  • tea.drn - original source code in DRAKON Editor format.
  • tea.[ch] - generated C code.
  • pics/ - generated pictures.

How to try

To compile and run C code:

make tea && ./tea

To regenerate code, open it in DRAKON Editor and click DRAKON > Generate code.

The generated executable just prints encrypted and decrypted "Hello world!".

Here's the source "code" for main:

main function

License

Public domain (CC-Zero). Written in 2012 by Dmitry Chestnykh.