Module diem_types::network_address::encrypted
source · Structs
- An encrypted
NetworkAddress
.
Constants
- The length in bytes of the AES-256-GCM nonce.
- The length in bytes of the AES-256-GCM authentication tag.
- We salt the HKDF for deriving the account keys to provide application separation.
- The length in bytes of the
shared_val_netaddr_key
and per-validatorderived_key
. - Constant key + version so we can push
EncNetworkAddress
everywhere without worrying about getting the key in the right places. these will be test-only soon.
Type Definitions
- Convenient type alias for the
shared_val_netaddr_key
as an array.