From f4cfc4f942f161e30cca4f1ec3a951f3baf957e2 Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Sat, 29 May 2021 13:44:15 -0400 Subject: [PATCH] Update Picocrypt.go --- src/unstable/Picocrypt.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/unstable/Picocrypt.go b/src/unstable/Picocrypt.go index 87019d4..bf3add8 100644 --- a/src/unstable/Picocrypt.go +++ b/src/unstable/Picocrypt.go @@ -83,8 +83,8 @@ var splitUnits = []string{ } var splitSelected int32 var items = []string{ - "Normal", - "Paranoid", + "Normal (4 passes)", + "Paranoid (Still in development, don't use)", } var itemSelected int32 var shredProgress float32 @@ -254,7 +254,7 @@ func startUI(){ g.Checkbox("Keep decrypted output even if it's corrupted or modified",&keep), g.Checkbox("Securely shred the original file(s) and folder(s)",&erase), g.Row( - g.Checkbox("Encode with Reed-Solomon to prevent corruption",&reedsolo), + g.Checkbox("(Not finished yet) Encode with Reed-Solomon to prevent corruption",&reedsolo), g.Button("?").OnClick(func(){ browser.OpenURL("https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction") }), @@ -1170,7 +1170,7 @@ func work(){ //tmp = tmp[:len(tmp)-16] var chunk []byte - //fmt.Println("") + for i,j := range(tmp){ chunk = append(chunk,j) if (i+1)%24==0{ @@ -1180,7 +1180,7 @@ func work(){ } } fout.Write(rsEncode(_mac,rs16_128,144)) - //fmt.Println("") + }else{ //fmt.Println("crcHash: ",crcHash) //fmt.Println("crc.Sum: ",crc.Sum(nil))