A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/google/rust-multihash below:

GitHub - google/rust-multihash

rust-multihash is an implementation of the multihash algorithm that allows for multiple different hash algorithms to be contained in the same format. This makes it extensible as new hashing algorithms are added.

To use, add rust-multihash= "*" to your Cargo.toml file.

To get a SHA2-256 hash of a string:

use multihash::{HashType, multihash};

let hash = multihash(HashType::SHA2256, "Hello World".to_vec());

This is not an official Google project, but it is governed by the Google Contributor License Agreement. To contribute code please agree to the Google Contributor License Agreement. Then please feel free to fork and issue a pull request.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4