hmacrypt/examples/string_encryption_example.py
2024-02-06 16:27:04 +01:00

9 lines
161 B
Python

import src.hmacrypt as hmacrypt
encrypted = hmacrypt.self_encrypt("My secret")
print(encrypted)
decrypted = hmacrypt.self_decrypt(encrypted)
print(decrypted)