Mise en place système de hashage
This commit is contained in:
@@ -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 !")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user