HashGenerator

0.0.2

Generate hash digests using commonly available hash algorithms
jordanbaird/HashGenerator

What's New

HashGenerator 0.0.2

2022-09-30T04:45:00Z

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 full documentation here

let generator = HashGenerator(using: .sha256)
let digest = generator.hash("Hello")
print(digest)
// Prints '185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969'

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

Last updated: Thu Oct 17 2024 18:54:48 GMT-0900 (Hawaii-Aleutian Daylight Time)