pub fn hash_data(data: &[u8]) -> Vec<u8> ⓘ
Hashes input data using SHA-256.
data
A vector of bytes representing the SHA-256 hash of the input data.