Algorithm
public enum Algorithm
Enumerates available algorithms.
-
Message Digest 5
Declaration
Swift
case md5
-
Secure Hash Algorithm 1
Declaration
Swift
case sha1
-
Secure Hash Algorithm 2 224-bit
Declaration
Swift
case sha224
-
Secure Hash Algorithm 2 256-bit
Declaration
Swift
case sha256
-
Secure Hash Algorithm 2 384-bit
Declaration
Swift
case sha384
-
Secure Hash Algorithm 2 512-bit
Declaration
Swift
case sha512
-
Obtains the digest length produced by this algorithm (in bytes).
Declaration
Swift
public func digestLength() -> Int