mitterdoo / dragoncrypt

A lightweight stream cipher with HMAC validity checking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dragoncrypt

A lightweight stream cipher with HMAC validity checking

A unique feature about this stream cipher, is that the stream being XOR'd with the plaintext changes and depends on the plaintext contents. This allows for true randomization using a truly-random (discarded when decrypted) string of bytes at the beginning.

After running numerous tests on my own machine with a HDD, speeds went up to 133.8 MiB/s encrypting, and 128.9 MiB/s decrypting, giving a decryption to encryption speed ratio of roughly 96%. memtest.c has been included to test speeds on your machine.

Below are diagrams detailing the basic structure of the algorithm Encryption Diagram Decryption Diagram

About

A lightweight stream cipher with HMAC validity checking

License:GNU General Public License v3.0


Languages

Language:C 87.1%Language:Python 12.9%