Mise en place système de hashage

This commit is contained in:
2022-03-15 17:11:31 +01:00
parent 6c33573ad1
commit 02de46bed2
7 changed files with 72 additions and 48 deletions

View File

@@ -8,6 +8,7 @@ import (
"StoreBackEnd/pkg/protocol/rules/readers"
"StoreBackEnd/pkg/protocol/rules/writers"
"StoreBackEnd/pkg/utils"
"log"
"time"
)
@@ -16,6 +17,11 @@ const (
)
func main() {
hash, err := utils.HashFileCompare("D:\\HELMoCrypted.png", "bacf89bd47be38ac445d5519c4e945bbea79c4a1f250cb31579e331e67941939")
if err != nil {
log.Fatal(err)
}
println("Hash : ", hash)
utils.NetworkLister() // TODO REMOVE
println("StoreBackEnd started !")