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 (
"context"
"crypto/rand"
"encoding/hex"
"encoding/json"
"fmt"
"log"
"math/rand"
"time"
s "github.com/SaveTheRbtz/generic-sync-map-go"