Correcting documentation surrounding length of nonces and private keys

A previous revision used constants to indicate the length of nonces and keys. We switched this so that a function is called that returns the length. This revision updates the documentation to match.