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

digest v0.10 and crypto-common v0.1 #819

Merged
merged 1 commit into from
Dec 7, 2021
Merged

digest v0.10 and crypto-common v0.1 #819

merged 1 commit into from
Dec 7, 2021

Conversation

newpavlov
Copy link
Member

Split-off from #727

Depends on RustCrypto/utils#671

Notable changes:

  • Introduced block-level APIs and wrappers around them.
  • crypto-mac is merged into digest, but I think it's worth to keep universal-hashes as a separate crate, since most of the complexity in digest is not needed there,
  • Introduced HashMarker and MacMarker traits to distinguish between the algorithm classes. Digest and Mac are high-level crates blanket implemented only for types marked with respective traits.
  • The Mac trait includes key-based initialization methods instead of relying on the KeyInit trait.

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.

None yet

1 participant