Update Nonce generating.
Merge pull request #2 from dimkahare/master

Update Nonce generating.