Forward secrecy implemented into crypto.
Small fixes in the crypto doc.