SwiftprotocolCryptoKit
protocol CryptoKit.HashFunction
Members 8
- func
static hash(bufferPointer: UnsafeRawBufferPointer) -> A.Digest - func
static hash<A where A1: Foundation.DataProtocol>(data: A1) -> A.Digest - var
static var blockByteCount: Int { get } - associatedtype
associatedtype Digest - func
method descriptor for finalize() -> A.Digest - func
method descriptor for update(bufferPointer: UnsafeRawBufferPointer) -> () - func
update<A where A1: Foundation.DataProtocol>(data: A1) -> () - init
method descriptor for init() -> A
Header
protocol HashFunction where Self.Digest: CryptoKit.Digest { associatedtype Digest init() func update(bufferPointer: Swift.UnsafeRawBufferPointer) func finalize() -> Self.Digest static var blockByteCount: Swift.Int { get } } extension CryptoKit.HashFunction { func update<A1>(data: A1) where A1: Foundation.DataProtocol static func hash(bufferPointer: Swift.UnsafeRawBufferPointer) -> Self.Digest static func hash<A1>(data: A1) -> Self.Digest where A1: Foundation.DataProtocol }