pycryptodome
pycryptodome copied to clipboard
nonce not defined in Secret Sharing Schemes example
I tested the example code found at https://pycryptodome.readthedocs.io/en/latest/src/protocol/ss.html
The result is like this:
Traceback (most recent call last):
File "main.py", line 25, in <module>
fo.write(nonce + tag + ct)
NameError: name 'nonce' is not defined
The code does not have anything returned as "nonce", so writing it to file failed.
Thank you.