pub fn encrypt<G: Rng + CryptoRng>( password: impl AsRef<[u8]>, data: impl AsRef<[u8]>, random: G ) -> Result<Box<[u8]>, Error>