Expand description
Ethereum Web Token See https://github.com/ethereum/EIPs/issues/1341
This module implements the Ethereum Web Token with 2 difference:
- The signature includes the Ethereum signature mode, see
crate::ethereum::ewt::ETH_SIGN_SUFFIX
- The message being signed is not the
header.payload
directly, but thekeccak256("header.payload")
.
Structs
EWT Authentication Token
EWT verified payload