use crypto/rand instead of math/rand

This commit is contained in:
mlctrez
2022-12-19 22:40:24 -06:00
committed by fiatjaf
parent 6c13dc7969
commit 72ef03f238

View File

@@ -2,11 +2,11 @@ package nostr
import ( import (
"context" "context"
"crypto/rand"
"encoding/hex" "encoding/hex"
"encoding/json" "encoding/json"
"fmt" "fmt"
"log" "log"
"math/rand"
"time" "time"
s "github.com/SaveTheRbtz/generic-sync-map-go" s "github.com/SaveTheRbtz/generic-sync-map-go"