There was an error while loading. Please reload this page.
1 parent 27bed0d commit 050c074Copy full SHA for 050c074
cryptolib/serializers.py
@@ -51,3 +51,7 @@ def decrypt(self, encrypted_text: bytes) -> bytes:
51
@staticmethod
52
def from_base_85(deserializable: Union[str, bytes]) -> bytes:
53
return base64.a85decode(deserializable)
54
+
55
+ @staticmethod
56
+ def from_base_64(deserializable: Union[str, bytes]) -> bytes:
57
+ return base64.b64decode(deserializable)
0 commit comments