mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 05:53:12 +00:00
the IV is bytes
This commit is contained in:
parent
b7990264e8
commit
f253235c96
@ -19,7 +19,7 @@ from cryptography.hazmat.primitives.ciphers import (
|
||||
)
|
||||
|
||||
|
||||
DEFAULT_IV = '\x00' * 16
|
||||
DEFAULT_IV = b'\x00' * 16
|
||||
|
||||
|
||||
def create_encryptor(key, iv=None):
|
||||
|
Loading…
Reference in New Issue
Block a user