Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encryptor class to encrypt/decrypt SecretKey #29

Merged
merged 4 commits into from
Jan 3, 2024
Merged

Encryptor class to encrypt/decrypt SecretKey #29

merged 4 commits into from
Jan 3, 2024

Conversation

kpp
Copy link
Contributor

@kpp kpp commented Dec 23, 2023

  • Fix pyproject.toml (wrong sections)
  • Move bindings to _aleolib so they don't confuse IDEs and static analyzers. External API is unchanged.
  • Move python code to "python/" dir
  • Add Plaintext/Ciphertext classes
  • Add class Encryptor (logic written in python) to ecnrypt/decrypt encrypted PrivateKeys
  • Expose some methods to make Encryptor work (PrivateKey::from_seed, Network::hash_psd2, Field::div/mul)

Encryptor is tested against the wasm implementation

@iamalwaysuncomfortable iamalwaysuncomfortable merged commit 70ab28e into ProvableHQ:master Jan 3, 2024
1 check passed
@kpp kpp deleted the sk_encrypt_decrypt branch January 5, 2024 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants