An implementation of RIPEMD-160 in Swift. All credit goes to Martin R. for publishing the implemention here.
- macOS 10.15+
- iOS 13+
Add the following line to your Package.swift
file:
.package(url: "https://github.com/anquii/RIPEMD160.git", from: "1.0.0")
...or integrate with Xcode via File -> Swift Packages -> Add Package Dependency...
using the URL of the repository.
import RIPEMD160
let hash = RIPEMD160.hash(data: data)
RIPEMD160
is licensed under the terms of the MIT license. See the LICENSE file for more information.