Export encryption for configuration and recovery
This commit is contained in:
@@ -38,11 +38,11 @@ class Vermasseln:
|
||||
return decrypted_data
|
||||
|
||||
def __vermasslungsKobold(self, local= True):
|
||||
key = platform.processor().encode("utf-8") if local else "(==daniishtverhaftetwegensexy#)"
|
||||
key = platform.processor().encode("utf-8") if local else b"(==daniishtverhaftetwegensexy#)"
|
||||
key = key[0:31]
|
||||
hash_key = SHA256.new(key)
|
||||
hashed = hash_key.digest()
|
||||
nonce = platform.machine().encode("utf-8") if local else "(==Uskarishtverhaftetwegensexy#)"
|
||||
nonce = platform.machine().encode("utf-8") if local else b"(==Uskarishtverhaftetwegensexy#)"
|
||||
cipher = AES.new(hashed, AES.MODE_SIV, nonce = nonce)
|
||||
return cipher
|
||||
|
||||
|
||||
Reference in New Issue
Block a user