Pass cipher to mode and fixed nonce.

Nonce was not being set anywhere, now needs to be passed to the Encrypt
and Decrypt functions. Exported NewNonce.