implement ripemd160 just so we can validate peter todd's old examples.

This commit is contained in:
fiatjaf
2023-09-28 15:35:07 -03:00
parent 7084284622
commit ef94324f2e
2 changed files with 10 additions and 1 deletions

9
unused.go Normal file
View File

@@ -0,0 +1,9 @@
package opentimestamps
import (
deprecated_ripemd160 "golang.org/x/crypto/ripemd160"
)
func ripemd160(curr []byte, arg []byte) []byte {
return deprecated_ripemd160.New().Sum(curr)
}