Protocols

The following protocols are available globally.

  • A protocol defining requirements for digests

    See more

    Declaration

    Swift

    public protocol Digest : ContiguousBytes, CustomStringConvertible, Hashable, Sequence where Self.Element == UInt8
  • Declares methods on cryptographic hash functions.

    See more

    Declaration

    Swift

    public protocol HashFunction
  • A protocol defining requirements for Message Authentication Codes

    See more

    Declaration

    Swift

    public protocol MessageAuthenticationCode : ContiguousBytes, CustomStringConvertible, Hashable, Sequence where Self.Element == UInt8