Skip to content

Commit

Permalink
make hash public
Browse files Browse the repository at this point in the history
  • Loading branch information
walteh committed May 30, 2024
1 parent a59a22c commit 53a1d3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53a1d3a

Please # to comment.