extract nonce for invalidation