Digest
Cryptographic hash (message digest) algorithm.
Digest algorithms compute a fixed-size hash value from arbitrary input data. Concrete algorithms are available as top-level CryptographyAlgorithmId objects (e.g., SHA256, SHA512, SHA3_256).
val digest = provider.get(SHA256).hasher().hash(data)Content copied to clipboard
For keyed hash-based message authentication, see HMAC.
Properties
Link copied to clipboard
The typed identifier that uniquely distinguishes this algorithm and is used to look it up from a CryptographyProvider.