mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-10 22:43:52 +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):
|
def create_encryptor(key, iv=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user