@ethereumjs/devp2p / MAC
• new MAC(secret
)
Name | Type |
---|---|
secret |
Uint8Array |
packages/devp2p/src/rlpx/mac.ts:11
▸ digest(): Uint8Array
Uint8Array
packages/devp2p/src/rlpx/mac.ts:34
▸ update(data
): void
Name | Type |
---|---|
data |
string | Uint8Array |
void
packages/devp2p/src/rlpx/mac.ts:16
▸ updateBody(data
): void
Name | Type |
---|---|
data |
string | Uint8Array |
void
packages/devp2p/src/rlpx/mac.ts:26
▸ updateHeader(data
): void
Name | Type |
---|---|
data |
string | Uint8Array |
void