change key size

This commit is contained in:
0xdcarns 2022-01-28 18:33:30 -05:00
parent 19426fc3e1
commit fb69d54f24
2 changed files with 2 additions and 2 deletions

View file

@ -206,7 +206,7 @@ func initializeUUID() error {
} else if len(records) > 0 {
return nil
}
var rsaPrivKey, keyErr = rsa.GenerateKey(rand.Reader, 32)
var rsaPrivKey, keyErr = rsa.GenerateKey(rand.Reader, 2048)
if keyErr != nil {
return keyErr
}

View file

@ -55,7 +55,7 @@ const NETCLIENT_DEFAULT_PORT = 51821
const DEFAULT_GC_PERCENT = 10
// KEY_SIZE = ideal length for keys
const KEY_SIZE = 64
const KEY_SIZE = 2048
// Log - logs a message
func Log(message string) {