ludwigfriborg / SwiftNilsimsa

Nilsimsa implementation as a swift package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftNilsimsa

Swift package with implementation of the Nilsimsa hash algorithm.

Documentation

Import the package and use nilsimsa to generate your hashes.

import SwiftNilsimsa

var hash: String = SwiftNilsimsa.nilsimsa(input: <STRING TO HASH>)

To compare we need two strings oh hashes which we put in this function:

SwiftNilsimsa.nilsimsa_compare(hash_1: String, hash_2: String) 

About

Nilsimsa implementation as a swift package

License:MIT License


Languages

Language:Swift 100.0%