Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix random_pad_len value in SphinxClient.py #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sphinxmix/SphinxClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def create_header(params, nodelist, keys, dest, assoc=None):


def create_forward_message(params, nodelist, keys, dest, msg, assoc=None):
"""Creates a forward Sphix message, ready to be processed by a first mix.
"""Creates a forward Sphinx message, ready to be processed by a first mix.

It takes as parameters a node list of mix information, that will be provided to each mix, forming the path of the message;
a list of public keys of all intermediate mixes; a destination and a message; and optinally an array of associated data (byte arrays)."""
Expand Down Expand Up @@ -607,4 +607,4 @@ def test_c25519_hemi(rep=1, payload_size=1024):


if __name__ == "__main__":
test_timing()
test_timing()