CryptoAlgorithm

public enum CryptoAlgorithm

Crypto Algorithms. They also provide API to create hmac using thes algorithms.

  • MD5

    Represents MD5

    Declaration

    Swift

    case MD5
  • Represents SHA1

    Declaration

    Swift

    case SHA1
  • Represents SHA224

    Declaration

    Swift

    case SHA224
  • Represents SHA256

    Declaration

    Swift

    case SHA256
  • Represents SHA384

    Declaration

    Swift

    case SHA384
  • Represents SHA512

    Declaration

    Swift

    case SHA512
  • HMAC computed on the message using the key as secret phrase

    Declaration

    Swift

    public func hmac(message: String, key: Data) -> Data