vaultrs::transit::generate

Function hash

Source
pub async fn hash(
    client: &impl Client,
    mount: &str,
    input: &str,
    opts: Option<&mut HashDataRequestBuilder>,
) -> Result<HashDataResponse, ClientError>
Expand description

Return the cryptographic hash of the base64-encoded input data.

See HashDataRequest