Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/secdev/scapy
/ data_for_encryption
Method
data_for_encryption
scapy/layers/ipsec.py:197–198 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
195
]
196
197
def
data_for_encryption(self):
198
return
raw(self.data) + self.padding + struct.pack(
"BB"
, self.padlen, self.nh)
# noqa: E501
199
200
201
###############################################################################
Callers
1
encrypt
Method · 0.80
Calls
1
raw
Function · 0.90
Tested by
no test coverage detected