...

Source file src/github.com/concurrency-8/parser/utils.go

Documentation: github.com/concurrency-8/parser

     1  package parser
     2  
     3  import (
     4  	"crypto/sha1"
     5  )
     6  
     7  func toSHA1(data []byte) string {
     8  	hash := sha1.New()
     9  	hash.Write(data)
    10  	return string(hash.Sum(nil))
    11  }
    12  

View as plain text