Add docstring in helper_ackPayload

python3android
Mahendra 5 years ago
parent a70b063004
commit ed26782114
No known key found for this signature in database
GPG Key ID: A672D8FAAEE398B3

@ -1,3 +1,5 @@
"""This module is for generating ack payload."""
import highlevelcrypto
import helper_random
from binascii import hexlify
@ -13,6 +15,7 @@ from addresses import encodeVarint
def genAckPayload(streamNumber=1, stealthLevel=0):
"""Generate and return payload obj."""
if (stealthLevel == 2): # Generate privacy-enhanced payload
# Generate a dummy privkey and derive the pubkey
dummyPubKeyHex = highlevelcrypto.privToPub(

Loading…
Cancel
Save