Struct security_framework::os::macos::digest_transform::Builder [] [src]

pub struct Builder { /* fields omitted */ }

A builder for digest transform operations.

Methods

impl Builder
[src]

Returns a new builder with default settings.

Sets the type of digest to perform.

If not set, an appropriate digest will be selected for you.

Sets the output length of the digest.

If not set, an appropriate length will be selected for you. Some digest types only support specific output lengths.

Sets the key used for HMAC digests.

Only applies to HmacMd5, HmacSha1, and HmacSha2 digests.

Computes the digest of the data.

Trait Implementations

impl Default for Builder
[src]

Returns the "default value" for a type. Read more