GenereateNonce() return only string.