mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
Turn off decryption
This commit is contained in:
parent
5e1068961e
commit
109fef84d0
3 changed files with 25 additions and 26 deletions
3
main.go
3
main.go
|
@ -66,6 +66,9 @@ func main() {
|
|||
}
|
||||
fileBytes, fileSalt, fileIV = Encrypt(fdata, codePhraseFlag)
|
||||
fileHash = HashBytes(fdata)
|
||||
if debugFlag {
|
||||
ioutil.WriteFile(fileName+".encrypted", fileBytes, 0644)
|
||||
}
|
||||
}
|
||||
|
||||
log.SetFormatter(&log.TextFormatter{})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue