8000 GitHub - lucascherzer/proc-hash: Embed hashed strings at compile time
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lucascherzer/proc-hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proc-hash

proc-hash provides functionality for embedding hashed values at compile time.

Implemented Hashing Algorithms

  • MD5
  • BLAKE2b (512 bit)
  • BLAKE2s (256 bit)
  • SHA-3
  • Whirlpool

Example

use proc_hash::include_blake512;

assert_eq!(
    include_blake512!("https://www.youtube.com/watch?v=dQw4w9WgXcQ"),
    "7eda814eb5fe31a58a639842aebf554b505bb5e65bdcd1052ee035a1227d353c590580b49c453606e268b4a4f0c7862dff5fa748cd4b0e60c1bcd77c92dd7fd8"
);

About

Embed hashed strings at compile time

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0