We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Anoma hoon stdlib now supports cryptographic primitives:
We need to make these available as Juvix builtins, in the same way as we did for anomaGet.
Proposed builtins:
--- Sign. Arguments: Data to sign, private key. Returns: Signed data. builtin anoma-sign axiom anomaSign : {A : Type} -> A -> Nat -> Nat; --- Verify. Arguments: Signed data, public key. builtin anoma-verify axiom anomaVerify : {A : Type} -> Nat -> Nat -> Bool; --- Sign detached. Arguments: Data to sign, private key. Returns: detached signature axiom anomaSignDetached : {A : Type} -> A -> Nat -> Nat; --- Verify detatched. Arguments: Data that was signed, public key, detached signature axiom anomaVerifyDetached : {A : Type} -> A -> Nat -> Nat -> Bool;
The text was updated successfully, but these errors were encountered:
Closed by #2788 - signDetached is not required.
Sorry, something went wrong.
paulcadman
No branches or pull requests
The Anoma hoon stdlib now supports cryptographic primitives:
We need to make these available as Juvix builtins, in the same way as we did for anomaGet.
Proposed builtins:
The text was updated successfully, but these errors were encountered: