Function rejson::decrypt

source ·
pub fn decrypt(
    secrets_file: &SecretsFile,
    private_key: Key
) -> Result<impl Transform>
Expand description

Returns a Transform that will decrypt incoming values from the supplied secrets file. This is done by creating a KeyPair consisting of the public key from the file and the supplied private key.