removed useless prints
This commit is contained in:
parent
a3623f8e7e
commit
d84deb6a20
2
main.go
2
main.go
|
@ -131,7 +131,6 @@ func main() {
|
||||||
fmt.Println(fn)
|
fmt.Println(fn)
|
||||||
buf := file2data(FileName)
|
buf := file2data(FileName)
|
||||||
if filetype.IsType(buf,hdnfType) {
|
if filetype.IsType(buf,hdnfType) {
|
||||||
fmt.Println("this is an hidden file")
|
|
||||||
fmt.Print("password: ")
|
fmt.Print("password: ")
|
||||||
pw := readPass()
|
pw := readPass()
|
||||||
fmt.Print("\n")
|
fmt.Print("\n")
|
||||||
|
@ -141,7 +140,6 @@ func main() {
|
||||||
data := decrypt(secret, key)
|
data := decrypt(secret, key)
|
||||||
data2file(datafn, data)
|
data2file(datafn, data)
|
||||||
} else {
|
} else {
|
||||||
fmt.Println("not hidden")
|
|
||||||
pw := checkPass()
|
pw := checkPass()
|
||||||
key := keyMkr(pw)
|
key := keyMkr(pw)
|
||||||
secret := headerAdd(encrypt(buf,key))
|
secret := headerAdd(encrypt(buf,key))
|
||||||
|
|
Loading…
Reference in New Issue