go1.25 bumped lib version added in dotenv assign func
This commit is contained in:
@@ -17,14 +17,6 @@ func MD5(b []byte) string {
|
||||
return hex.EncodeToString(hash[:])
|
||||
}
|
||||
|
||||
/*
|
||||
func MD5Int(b []byte) uint64 {
|
||||
n := new(big.Int)
|
||||
n.SetString(MD5(b), 16)
|
||||
return n.Uint64()
|
||||
}
|
||||
*/
|
||||
|
||||
// SHA256 Sum256 is generally preferred over md5.hash due to its superior security and resistance to collision attacks
|
||||
func SHA256(b []byte) string {
|
||||
hash := sha256.Sum256(b)
|
||||
|
||||
Reference in New Issue
Block a user