mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-05-12 21:58:31 +02:00
Update Picocrypt.go
Generate 32 byte Key File's instead of 1 KB
This commit is contained in:
parent
d3346f9105
commit
33da5b0e74
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue