DigestAlgorithm

public final class DigestAlgorithm : Equatable

Cryptographic hash function algorithm.

let algorithm = try DigestAlgorithm.named("sha256")

https://en.wikipedia.org/wiki/Cryptographic_hash_function https://www.openssl.org/docs/man1.1.0/crypto/EVP_MD_CTX_free.html