diff --git a/src/Picocrypt.py b/src/Picocrypt.py index 67e412e..eab78c7 100644 --- a/src/Picocrypt.py +++ b/src/Picocrypt.py @@ -287,7 +287,7 @@ def start(): nonce = urandom(24) fout.write(str(len(ad)).encode("utf-8")) # Length of metadata fout.write(b"|") # Separator - fout.write(ad) # Metadata + fout.write(ad) # Metadata (associated data) # Write zeros as placeholder, come back to write over it later fout.write(b"0"*64) # SHA3-512 of encryption key fout.write(b"0"*64) # CRC of file