哈希

哈希算法

导入

.package(url: "https://github.com/DavidSkrundz/Hash.git", .upToNextMinor(from: "1.4.0"))

哈希:可判等的,可自定义字符串描述

let bytes: [UInt8]
var description: String // hexadecimal representation

哈希运算

init()
mutating func hashData(_ data: [UInt8])
func finalize() -> Hash
static func hash(_ data: [UInt8]) -> Hash

已实现函数