Skip to content

stariy95/rabbit-cipher-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Rabbit stream cipher implementation http://tools.ietf.org/rfc/rfc4503.txt

Rabbit is a stream cipher algorithm that has been designed for high performance in software implementations. Both key setup and encryption are very fast, making the algorithm particularly suited for all applications where large amounts of data or large numbers of data packages have to be encrypted.

Usage:

    byte[] msg = "Hello World!".getBytes();
    RabbitCipher cipher = new RabbitCipher();
    cipher.setupKey(key);
    cipher.crypt(msg);

Currently IV usage not implemented.