pub(crate) fn create_broadcast_secret() -> StringExpand description
Generate a shared secret for a broadcast channel, consisting of 43 characters.
The string generated by this function has 258 bits of entropy and is returned as 43 Base64 characters, each containing 6 bits of entropy. 258 is chosen because we may switch to AES-256 keys in the future, and so that the shared secret definitely won’t be the weak spot.