mirror of
https://github.com/Alexey71/opera-proxy.git
synced 2026-05-13 22:20:59 +00:00
WIP
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package seclient
|
||||
|
||||
import (
|
||||
"crypto/sha1"
|
||||
"encoding/hex"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func capitalHexSHA1(input string) string {
|
||||
h := sha1.Sum([]byte(input))
|
||||
return strings.ToUpper(hex.EncodeToString(h[:]))
|
||||
}
|
||||
Reference in New Issue
Block a user