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:

The rekeying is documented around here:

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.