Use BLAKE2b checksum instead of SHA-1 and SHA-512
This commit is contained in:
parent
9e1308a2b4
commit
917d8a6c81
7 changed files with 59 additions and 39 deletions
|
|
@ -74,6 +74,7 @@ func main() {
|
|||
flag.StringVar(&api.CloudPassword, "cloudpass", "", "Password used to sync")
|
||||
flag.BoolVar(&api.RapidImport, "rapidimport", false, "Don't try to reimport an existing file")
|
||||
flag.BoolVar(&fic.OptionalDigest, "optionaldigest", false, "Is the digest required when importing files?")
|
||||
flag.BoolVar(&fic.StrongDigest, "strongdigest", false, "Are BLAKE2b digests required instead of SHA-1 or BLAKE2b?")
|
||||
flag.Parse()
|
||||
|
||||
log.SetPrefix("[admin] ")
|
||||
|
|
|
|||
Reference in a new issue