-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: Noir >=1.0.0 #36
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -2,6 +2,17 @@ | |||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
A Base64 encoding/decoding library written in Noir which can encode arbitrary byte arrays into Base64 and decode Base64-encoded byte arrays (e.g. `"SGVsbG8gV29ybGQ=".as_bytes()`). | ||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
## Noir Version Compatibility | ||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
We have tested this library with Noir nightly, 0.36.0, and 1.0.0-beta.0 | ||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
## Dependencies | ||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
- Noir >=1.0.0 | ||||||||||||||||||||||||||||||||
- Barretenberg ≥v0.56.1 | ||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
Refer to [Noir's docs](https://noir-lang.org/docs/getting_started/quick_start) and [Barretenberg's docs](https://github.com/AztecProtocol/aztec-packages/blob/master/barretenberg/cpp/src/barretenberg/bb/readme.md#installation) for installation steps. | ||||||||||||||||||||||||||||||||
Comment on lines
+5
to
+14
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
As a general rule, I don't think that any noir libararies should be specifying versions of the backend to use (or even mentioning barretenberg at all). The reasoning being that the version of the backend which the user should use is purely dependent on the version of nargo they're using (and unaffected by the library) so it should be documented elsewhere. If we add references to barretenberg here then we need to keep this up-to-date across N different libraries which is creating more work for ourselves. |
||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
## Usage | ||||||||||||||||||||||||||||||||
### Configuration | ||||||||||||||||||||||||||||||||
Start by selecting the encoder or decoder for your configuration. These are defined separately so that only one lookup table will be instantiated at a time, since many cases will require either an encoder or a decoder but not both. | ||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.