Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Latest commit

 

History

History
48 lines (44 loc) · 1.69 KB

File metadata and controls

48 lines (44 loc) · 1.69 KB

Sentinel Documentation

Sentinel is a whitelist made only in Go that uses the library crypt to secure your keys

Caution

Is recommended using a host to substitute the folder Data to avoid expose the hashs directly inside the file Data/Keys.json

Tree

whitelist // root of the project
│   go.mod
│   go.sumLICENSE
│   main.go // Init and repeatREADME.md
│   whitelist.go // configure the whitelist
│
├───Data
│       config.json // General configurationKeys.json // Database of the keys// Format: {key: hwid}
├───genSalty.go // Salty generator
│
├───Handlers
│       identifier.go // Handle almost everything
│       json.go // Read and import json files in Data
│
└───phrase
        dictionary.go // Wordlist
        phrase.go // Word generator
        README // Warning

Functions

the main whitelist functions are get by the file "whitelist.go" found in the root of the project

VerifyKey

VerifyKey checks if the key is in Keys.json and if it matches with the user data provided

Example:

if VerifyKey("User_Key_Here") {
    fmt.Println("Sucess")
}

Made using <3

Go Visual Studio Code Botão