Computes a SHA384 hash of the given data.
(data: &[u8])
| 7 | |
| 8 | /// Computes a SHA384 hash of the given data. |
| 9 | pub(crate) fn measure_sha384(data: &[u8]) -> Vec<u8> { |
| 10 | Sha384::new_with_prefix(data).finalize().to_vec() |
| 11 | } |
| 12 | |
| 13 | pub(crate) fn utf16_encode(input: &str) -> Vec<u8> { |
| 14 | input |
no test coverage detected