Hashavatar 0.7.0 #6
Closed
eldryoth
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hashavatar 0.7.0
hashavatar0.7.0 starts the post-0.6 roadmap by making identity hashing explicit and extensible while keeping SHA-512 as the conservative default.Highlights
AvatarHashAlgorithmAvatarIdentityOptionsblake3Cargo featurexxh3Cargo featurezeroizecleanup for derived identity digests and temporary identity hash preimage buffersAvatarIdentityCompatibility
AvatarIdentity::new,AvatarIdentity::new_with_namespace,render_avatar_for_id,render_avatar_for_namespace,render_avatar_svg_for_id,render_avatar_svg_for_namespace,encode_avatar_for_id, orencode_avatar_for_namespacecontinue to use SHA-512.0.6.0.AvatarHashAlgorithm::Blake3exists only when theblake3feature is enabled.AvatarHashAlgorithm::Xxh3_128exists only when thexxh3feature is enabled.0.7.0because procedural RNGseeding now uses a separate 256-bit digest slice instead of the low 64 bits
that are also used by direct visual parameters.
Security And Quality
blake3crate and uses dependency-provided acceleration where available.digest, separate from lower digest bytes used for direct visual parameters.
AvatarIdentityequality uses constant-time digest comparison.counts, geometry, encoded size, and SVG length can vary with identity digest
bytes, so callers should not treat rendering timing or output size as
secret-preserving side channels.
This discussion was created from the release Hashavatar 0.7.0.
Beta Was this translation helpful? Give feedback.
All reactions