()
| 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() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…