mirror of
https://github.com/SantaSpeen/winConnect.git
synced 2026-10-26 06:00:18 +00:00
bones
[+] WinConnectCryptoPassword [+] WinConnectCryptoCert
This commit is contained in:
1 parent
7978e4f2ed
commit
4e350bcc53
1 file changed
+28
@@ -40,3 +40,31 @@ class WinConnectCryptoSimple(WinConnectCryptoBase):
|
|||||||
decrypted_text.append(char ^ key)
|
decrypted_text.append(char ^ key)
|
||||||
return bytes(decrypted_text)
|
return bytes(decrypted_text)
|
||||||
|
|
||||||
|
|
||||||
|
class WinConnectCryptoPassword(WinConnectCryptoBase):
|
||||||
|
|
||||||
|
def __init__(self, password: str):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def encrypt(self, data: bytes) -> bytes:
|
||||||
|
pass
|
||||||
|
|
||||||
|
def decrypt(self, data: bytes) -> bytes:
|
||||||
|
pass
|
||||||
|
|
||||||
|
class WinConnectCryptoCert(WinConnectCryptoBase):
|
||||||
|
def __init__(self, cert_file: str):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def _open_cert(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def load(self) -> None:
|
||||||
|
self._open_cert()
|
||||||
|
|
||||||
|
def encrypt(self, data: bytes) -> bytes:
|
||||||
|
pass
|
||||||
|
|
||||||
|
def decrypt(self, data: bytes) -> bytes:
|
||||||
|
pass
|
||||||
|
|
||||||
Reference in new issue
Block a user