derive_nonce
A utility function that computes a unique nonce for this operation's message to sign.
Parameters
op
the operation to be signed
nonce
starting from 0, it will be increased on every operation performed by the same auth descriptor. 0 if the signer is creating a new auth descriptor