SwiftstructReplicatorEngine
struct ReplicatorEngine.UniformHasher
Members 7
- func
static hash<A where A: Encodable>(A) throws -> Foundation.UUID - func
static hash<A where A: NSSecureCoding, A: NSObject>(A) throws -> Foundation.UUID - field
var hasher: CryptoKit.SHA256 - func
combine<A where A: Encodable>(A) throws -> () - func
combine<A where A: NSSecureCoding, A: NSObject>(A) throws -> () - func
finalize() -> Foundation.UUID - init
init() -> ReplicatorEngine.UniformHasher
Header
struct UniformHasher { var hasher: CryptoKit.SHA256 init() func combine<A>(_: A) throws where A: Swift.Encodable func combine<A>(_: A) throws where A: __C.NSSecureCoding, A: __C.NSObject func finalize() -> Foundation.UUID static func hash<A>(_: A) throws -> Foundation.UUID where A: Swift.Encodable static func hash<A>(_: A) throws -> Foundation.UUID where A: __C.NSSecureCoding, A: __C.NSObject }