Skip to content

ludwigfriborg/SwiftNilsimsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)