@ethereumjs/devp2p / rlpx/mac / MAC
rlpx/mac.MAC
• new MAC(secret
)
Name | Type |
---|---|
secret |
Buffer |
packages/devp2p/src/rlpx/mac.ts:7
• _hash: any
packages/devp2p/src/rlpx/mac.ts:6
• _secret: Buffer
packages/devp2p/src/rlpx/mac.ts:7
▸ digest(): any
any
packages/devp2p/src/rlpx/mac.ts:31
▸ update(data
): void
Name | Type |
---|---|
data |
string | Buffer |
void
packages/devp2p/src/rlpx/mac.ts:13
▸ updateBody(data
): void
Name | Type |
---|---|
data |
string | Buffer |
void
packages/devp2p/src/rlpx/mac.ts:23
▸ updateHeader(data
): void
Name | Type |
---|---|
data |
string | Buffer |
void