Code Poetry
and Text Adventures

by catid posted (>30 days ago) 1:58am Sat. Mar 1st 2014 PST
I just finished implementing periodic rekeying for Calico, my AEAD construction based on ChaCha and SipHash.

It's all unit tested and working properly, and the mobile version is updated.

If you want to take a look at how it works, the docs are here: https://github.com/catid/calico/blob/master/README.md.

The rekeying is documented around here: https://github.com/catid/calico/blob/master/README.md#rekeying-example.

Previously, the Calico project did not have any mechanism for forward secrecy for long-lived connections.

Adding it was surprisingly easy: It's just as fast as before and doesn't use any additional bandwidth.
And it's fairly symmetric so both sides share almost all the code.