Improve code documentation

This commit is contained in:
TwinProduction committed 2020-10-23 15:58:59 -04:00
1 parent c09cd9df7e
commit 1bde98868e
5 files changed
+24 -4

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ import (
"fmt"
)
// Sha512 hashes a provided string using SHA512 and returns the resulting hash as a string
func Sha512(s string) string {
hash := sha512.New()
hash.Write([]byte(s))