Data
extension Data
Digest Handling Extension
-
Enumerates available Digest algorithms
See moreDeclaration
Swift
public enum Algorithm
-
Return a digest of the data based on the alogorithm selected.
Declaration
Swift
public func digest(using alogorithm: Algorithm) throws -> Data
Parameters
alogorithm
The digest
Alogorithm
to use.Return Value
Data
containing the data in digest form.