mirror of
https://github.com/SantaSpeen/winConnect.git
synced 2026-05-19 08:10:14 +00:00
bones
[+] WinConnectCryptoPassword [+] WinConnectCryptoCert
This commit is contained in:
@@ -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