Instance Methodswift-hash 0.7.1SHA2
update(with:)
SHA256.swift:93mutating func update<Chunk>(with chunk: Chunk) where Chunk : Collection, Chunk.Element == UInt8
mutating func update<Chunk>(with chunk: Chunk) where Chunk : Collection, Chunk.Element == UInt8
s4SHA26SHA256V6update4withyx_tSlRzs5UInt8V7ElementRtzlF
What are these?6AB3E
import SHA2
@frozen struct SHA256
protocol Collection<Element> : Sequence
A sequence whose elements can be traversed multiple times, nondestructively, and accessed by an indexed subscript.
associatedtype Element where Self.Element == Self.Iterator.Element
A type representing the sequence’s elements.
@frozen struct UInt8
An 8-bit unsigned integer value type.
init<Message>(hashing message: Message) where Message : Collection, Message.Element == UInt8
init?(parsing ascii: some Sequence<UInt8>)
init(stringLiteral: String)
init(words: Words = (
0x6a09e667,
0xbb67ae85,
0x3c6ef372,
0xa54ff53a,
0x510e527f,
0x9b05688c,
0x1f83d9ab,
0x5be0cd19
))
static let count: Int
static let stride: Int
static let table: [UInt32]
static func rotate(_ value: UInt32, right shift: Int) -> UInt32
var description: String { get }
var startIndex: Int { get }
var words: Words
subscript(index: Int) -> UInt8 { get }
static func == (lhs: `Self`, rhs: `Self`) -> Bool
func hash(into hasher: inout Hasher)
typealias Words = (UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)