SHA256
public struct SHA256 : HashFunctionImplementationDetails
The SHA-256 Hash Function
-
Declaration
Swift
public static var blockByteCount: Int { get set }
-
Undocumented
Declaration
Swift
public static var byteCount: Int { get set }
-
Undocumented
Declaration
Swift
public typealias Digest = SHA256Digest
-
Initializes the hash function instance.
Declaration
Swift
public init()
-
Declaration
Swift
public mutating func update(bufferPointer: UnsafeRawBufferPointer)
-
Returns the digest from the data input in the hash function instance.
Declaration
Swift
public func finalize() -> `Self`.Digest
Return Value
The digest of the inputted data