MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / sha256_abc

Function sha256_abc

rust/stringzilla.rs:3862–3869  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3860
3861 #[test]
3862 fn sha256_abc() {
3863 let hash = sz::Sha256::hash(b"abc");
3864 let expected = [
3865 0xba, 0x78, 0x16, 0xbf, 0x8f, 0x01, 0xcf, 0xea, 0x41, 0x41, 0x40, 0xde, 0x5d, 0xae, 0x22, 0x23, 0xb0, 0x03,
3866 0x61, 0xa3, 0x96, 0x17, 0x7a, 0x9c, 0xb4, 0x10, 0xff, 0x61, 0xf2, 0x00, 0x15, 0xad,
3867 ];
3868 assert_eq!(hash, expected);
3869 }
3870
3871 #[test]
3872 fn sha256_incremental() {

Callers

nothing calls this directly

Calls 1

hashFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…