CryptoDigest
public protocol CryptoDigest
Implements a simplified API for calculating digests over single buffers
-
Calculates a message digest
Declaration
Swift
func digest(algorithm: Digest.Algorithm) -> Self
-
MD2
Extension methodAn MD2 digest of this object
Declaration
Swift
public var MD2: Self { get }
-
MD4
Extension methodAn MD4 digest of this object
Declaration
Swift
public var MD4: Self { get }
-
MD5
Extension methodAn MD5 digest of this object
Declaration
Swift
public var MD5: Self { get }
-
SHA1
Extension methodAn SHA1 digest of this object
Declaration
Swift
public var SHA1: Self { get }
-
SHA224
Extension methodAn SHA224 digest of this object
Declaration
Swift
public var SHA224: Self { get }
-
SHA256
Extension methodAn SHA256 digest of this object
Declaration
Swift
public var SHA256: Self { get }
-
SHA384
Extension methodAn SHA384 digest of this object
Declaration
Swift
public var SHA384: Self { get }
-
SHA512
Extension methodAn SHA512 digest of this object
Declaration
Swift
public var SHA512: Self { get }