From 33da5b0e74c198b272e8bc2a4f5437a83fe0578d Mon Sep 17 00:00:00 2001 From: CodeCracker-oss <46665677+CodeCracker-oss@users.noreply.github.com> Date: Thu, 27 Jun 2024 23:29:02 -0400 Subject: [PATCH] Update Picocrypt.go Generate 32 byte Key File's instead of 1 KB --- src/Picocrypt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Picocrypt.go b/src/Picocrypt.go index 4b19eaa..9d348dc 100644 --- a/src/Picocrypt.go +++ b/src/Picocrypt.go @@ -445,7 +445,7 @@ func draw() { } fout, _ := os.Create(file) - data := make([]byte, KiB) + data := make([]byte, 32) rand.Read(data) _, err = fout.Write(data) fout.Close()