python from nacl import encryption secret_key = encryption.generate_secret_key() public_key = secret_key.public_key message = b"Hello, World!" encrypted_message = public_key.encrypt(message) decrypted_message = secret_key.decrypt(encrypted_message) print(decrypted_message) pip install pynacl


上一篇:
下一篇:
切换中文