diff --git a/swift/Sources/MicroDeterministicECDSA/MicroDeterministicECDSA.swift b/swift/Sources/MicroDeterministicECDSA/MicroDeterministicECDSA.swift index d18cd15..a6997d7 100644 --- a/swift/Sources/MicroDeterministicECDSA/MicroDeterministicECDSA.swift +++ b/swift/Sources/MicroDeterministicECDSA/MicroDeterministicECDSA.swift @@ -81,7 +81,7 @@ public struct Signature { } } -func hash(_ algo: HashingAlgorithm, _ bits: Int32, _ data: Data) -> Data { +public func hash(_ algo: HashingAlgorithm, _ bits: Int32, _ data: Data) -> Data { switch algo { case .Keccak256: let nsData = data as NSData