目录
目录README.md

HashGenerator

A simple class for generating hash digests using commonly available hash algorithms.

Install

Add the following dependency to your Package.swift file:

.package(url: "https://github.com/jordanbaird/HashGenerator", from: "0.0.2")

Usage

Read the full documentation here

let generator = HashGenerator(using: .sha256)
let digest = generator.hash("Hello")
print(digest)
// Prints '185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969'
关于
347.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号