CryptoDigest
public protocol CryptoDigest
Implements a simplified API for calculating digests over single buffers
-
Calculates a message digest
Declaration
Swift
func digest(using 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 }