refactor
This commit is contained in:
9
ots/crypto.go
Normal file
9
ots/crypto.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package ots
|
||||
|
||||
import (
|
||||
deprecated_ripemd160 "golang.org/x/crypto/ripemd160"
|
||||
)
|
||||
|
||||
func ripemd160(curr []byte, arg []byte) []byte {
|
||||
return deprecated_ripemd160.New().Sum(curr)
|
||||
}
|
||||
Reference in New Issue
Block a user