github.com/zhiqiangxu/util@v0.0.0-20230112053021-0a7aee056cd5/crypto/signature/hash.go (about)

     1  package signature
     2  
     3  import (
     4  	"crypto/sha512"
     5  	"hash"
     6  )
     7  
     8  func getHasher() hash.Hash {
     9  	return sha512.New()
    10  }