Struct security_framework::os::macos::digest_transform::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for digest transform operations.
Implementations
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.