MCPcopy Create free account
hub / github.com/secdev/scapy / ARC4_decrypt

Function ARC4_decrypt

scapy/modules/krack/crypto.py:32–35  ·  view source on GitHub ↗

Decrypt data @data with key @key, skipping @skip first bytes of the keystream

(key, data, skip=0)

Source from the content-addressed store, hash-verified

30
31
32def ARC4_decrypt(key, data, skip=0):
33 """Decrypt data @data with key @key, skipping @skip first bytes of the
34 keystream"""
35 return ARC4_encrypt(key, data, skip)
36
37# Custom WPA PseudoRandomFunction
38

Callers 1

parse_data_pktFunction · 0.85

Calls 1

ARC4_encryptFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…