()
| 855 | } |
| 856 | #[test] |
| 857 | fn test_sha256_strs() { |
| 858 | let message = "Hello."; |
| 859 | let hex: String = message.as_bytes().to_lower_hex_string(); |
| 860 | test_sha256(&hex, true, true); |
| 861 | let message = "This is a longer message that still fits in one block!"; |
| 862 | let hex: String = message.as_bytes().to_lower_hex_string(); |
| 863 | test_sha256(&hex, true, true) |
| 864 | } |
| 865 | |
| 866 | #[test] |
| 867 | fn test_sha256_two_blocks() { |
nothing calls this directly
no test coverage detected