WebAuthnValidationModule
Source:Verified
Read Functions / replaySafeHash
Overview

The replaySafeHash function in the ReplaySafeWrapper contract generates a replay-safe hash by wrapping a given hash in an EIP-712 structure. It utilizes the domain separator specific to the contract and the account address to prevent replay attacks across different accounts.

Inputs
  • account (address): The address of the account that will validate the message hash.
  • hash (bytes32): The hash that needs to be wrapped for replay safety.
Outputs
  • Returns (bytes32): The replay-safe hash computed by wrapping the input hash in an EIP-712 struct.
Emits Zero Events
Functions will often emit events during execution, often signifying key changes in state. There are no events emited by this function
Recent Transactions Calling This Function
This returns the latest 20 times that this function was called directly by a wallet or internally by another contract.
Looking for transactions where this function was called...