INNER CODE UNIT · Swift

digest

Kitura/BlueCryptor · Sources/Cryptor/Crypto.swift:26

    func digest(using algorithm: Digest.Algorithm) -> Self
}

///
/// Extension to the CryptoDigest to return the digest appropriate to the selected algorithm.
///
extension CryptoDigest {
	
    /// An MD2 digest of this object
    public var md2: Self {
		return self.digest(using: .md2)
	}
	
    /// An MD4 digest of this object
    public var md4: Self {
		return self.digest(using: .md4)
	}
	

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…