mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
replace deprecated math/rand with crypto/rand
This commit is contained in:
parent
adeef4342e
commit
8da914cf20
1 changed files with 1 additions and 1 deletions
|
@ -2,8 +2,8 @@ package util
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"crypto/rand"
|
||||
"fmt"
|
||||
"math/rand"
|
||||
)
|
||||
|
||||
// GenerateRandomSHA256 generates a random 64 character SHA 256 hash string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue