SwiftprotocolCryptoKit

protocol CryptoKit.HashFunction

Members 8

  1. funcstatic hash(bufferPointer: UnsafeRawBufferPointer) -> A.Digest
  2. funcstatic hash<A where A1: Foundation.DataProtocol>(data: A1) -> A.Digest
  3. varstatic var blockByteCount: Int { get }
  4. associatedtypeassociatedtype Digest
  5. funcmethod descriptor for finalize() -> A.Digest
  6. funcmethod descriptor for update(bufferPointer: UnsafeRawBufferPointer) -> ()
  7. funcupdate<A where A1: Foundation.DataProtocol>(data: A1) -> ()
  8. initmethod descriptor for init() -> A
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
}