Use cryptographic nonce instead of counters.

Authored by stikonas on Jul 20 2018, 8:12 PM.