Static Propertyswift-crypto 3.8.0Crypto
byteCount
The number of bytes in a SHA1 digest.
Insecure_HashFunctions.swift:44static var byteCount: Int { get set }
Other members in extension
Typealiases
typealias Digest
The digest type for a SHA1 hash function.
Type members
init(
) Creates a SHA1 hash function.
static var blockByteCount: Int
The number of bytes that represents the hash function’s internal state.
Instance members
func finalize(
) -> `Self`.Digest Finalizes the hash function and returns the computed digest.
func update(bufferPointer: UnsafeRawBufferPointer
) Incrementally updates the hash function with the contents of the buffer.