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 method

    An MD2 digest of this object

    Declaration

    Swift

    public var md2: Self { get }
  • md4 Extension method

    An MD4 digest of this object

    Declaration

    Swift

    public var md4: Self { get }
  • md5 Extension method

    An MD5 digest of this object

    Declaration

    Swift

    public var md5: Self { get }
  • sha1 Extension method

    An SHA1 digest of this object

    Declaration

    Swift

    public var sha1: Self { get }
  • sha224 Extension method

    An SHA224 digest of this object

    Declaration

    Swift

    public var sha224: Self { get }
  • sha256 Extension method

    An SHA256 digest of this object

    Declaration

    Swift

    public var sha256: Self { get }
  • sha384 Extension method

    An SHA384 digest of this object

    Declaration

    Swift

    public var sha384: Self { get }
  • sha512 Extension method

    An SHA512 digest of this object

    Declaration

    Swift

    public var sha512: Self { get }