derhuerst/blake3-native

support full Node Hash API

Open

#2 opened on Jan 12, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (0 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Node Hashes

  • are Transform streams,
  • support strings and buffers with update(),
  • support an optional encoding parameter with digest().

This will make blake3-native a drop-in replacement for the Node built-in (or it's standalone nom-based version, create-hash).

Contributor guide