HashCalculator
public class HashCalculator
Adapted from http://stackoverflow.com/questions/25761344/how-to-crypt-string-to-sha1-with-swift
-
Undocumented
Declaration
Swift
public typealias HashAlgorithm = (UnsafeRawPointer?, CC_LONG, UnsafeMutablePointer<UInt8>?) -> UnsafeMutablePointer<UInt8>? -
Undocumented
Declaration
Swift
public typealias HashLenght = Int32 -
Undocumented
Declaration
Swift
public init(algorithm: @escaping HashAlgorithm, legth: HashLenght) -
Undocumented
Declaration
Swift
public func digest(data: Data) -> String
HashCalculator Class Reference