Update Picocrypt.go

Generate 32 byte Key File's instead of 1 KB
This commit is contained in:
CodeCracker-oss 2024-06-27 23:29:02 -04:00 committed by GitHub
parent d3346f9105
commit 33da5b0e74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -445,7 +445,7 @@ func draw() {
} }
fout, _ := os.Create(file) fout, _ := os.Create(file)
data := make([]byte, KiB) data := make([]byte, 32)
rand.Read(data) rand.Read(data)
_, err = fout.Write(data) _, err = fout.Write(data)
fout.Close() fout.Close()