java.lang.Object
org.cryptomator.cryptolib.common.MacSupplier
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
HMAC_SHA256
-
-
Constructor Details
-
MacSupplier
-
-
Method Details
-
keyed
Leases a reusable MAC object initialized with the given key.- Parameters:
key- Key to use in keyed MAC- Returns:
- A lease supplying a refurbished MAC
-
withKey
Deprecated.Usekeyed(SecretKey)insteadCreates a new MAC- Parameters:
key- Key to use in keyed MAC- Returns:
- New Mac instance
-
keyed(SecretKey)instead