pub fn encrypt_with_rng<R, T>(
    rng: &mut R,
    sk: &SecretKey,
    pk: &XOnlyPublicKey,
    text: T
) -> Result<String, Error>where
    R: RngCore,
    T: AsRef<[u8]>,
Expand description

Entrypt