CryptoDigest
public protocol CryptoDigest
Implements a simplified API for calculating digests over single buffers
-
An MD2 digest of this object
Declaration
Swift
public var MD2: Self { return self.digest(.MD2) }
-
An MD4 digest of this object
Declaration
Swift
public var MD4: Self { return self.digest(.MD4) }
-
An MD5 digest of this object
Declaration
Swift
public var MD5: Self { return self.digest(.MD5) }
-
An SHA1 digest of this object
Declaration
Swift
public var SHA1: Self { return self.digest(.SHA1) }
-
An SHA224 digest of this object
Declaration
Swift
public var SHA224: Self { return self.digest(.SHA224) }
-
An SHA256 digest of this object
Declaration
Swift
public var SHA256: Self { return self.digest(.SHA256) }
-
An SHA384 digest of this object
Declaration
Swift
public var SHA384: Self { return self.digest(.SHA384) }
-
An SHA512 digest of this object
Declaration
Swift
public var SHA512: Self { return self.digest(.SHA512) }