https://github.com/dchest/drakon-tea
TEA cipher in CBC mode written in DRAKON Editor + C as a fun exercise.
https://github.com/dchest/drakon-tea
Last synced: 12 months ago
JSON representation
TEA cipher in CBC mode written in DRAKON Editor + C as a fun exercise.
- Host: GitHub
- URL: https://github.com/dchest/drakon-tea
- Owner: dchest
- Created: 2012-06-06T21:11:38.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-06-06T21:27:29.000Z (about 14 years ago)
- Last Synced: 2025-04-11T04:35:32.227Z (about 1 year ago)
- Language: C
- Size: 492 KB
- Stars: 15
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DRAKON-TEA
==========
TEA cipher in CBC mode with PKCS #7 padding written in
[DRAKON Editor](http://drakon-editor.sourceforge.net/) + 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`:

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