1
1
Fork 0
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:
Zack Scholl 2017-10-17 22:03:48 -06:00
parent 5e1068961e
commit 109fef84d0
3 changed files with 25 additions and 26 deletions

View file

@ -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{})