pub fn base64_sha256_hash(bytes: &[u8]) -> StringExpand description
Compute the sha256 hash of the given bytes and convert it to unpadded URL-safe base64.
This matches the format of event IDs since room version 4, and of room IDs since room version 12.