Instance Subscriptswift-hash 0.7.1SHA2
subscript(_:)
SHA256.swift:218subscript(index: Int) -> UInt8 { get }
subscript(index: Int) -> UInt8 { get }
import SHA2
@frozen struct SHA256
@frozen struct Int
A signed integer value type.
@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
static func == (lhs: `Self`, rhs: `Self`) -> Bool
func hash(into hasher: inout Hasher)
mutating func update<Chunk>(with chunk: Chunk) where Chunk : Collection, Chunk.Element == UInt8
typealias Words = (UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)