Initializerswift-hash 0.7.1SHA2
init(stringLiteral:)
SHA256.swift:256init(stringLiteral: String)
init(stringLiteral: String)
import SHA2
@frozen struct SHA256
@frozen struct String
A Unicode string value that is a collection of characters.
init<Message>(hashing message: Message) where Message : Collection, Message.Element == UInt8
init?(parsing ascii: some Sequence<UInt8>)
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)
mutating func update<Chunk>(with chunk: Chunk) where Chunk : Collection, Chunk.Element == UInt8
typealias Words = (UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)