Added doc for bits and nonce. Fixes #1.