Initial commit

This commit is contained in:
2026-05-31 01:09:34 +01:00
commit 1d51b29b92
31 changed files with 4874 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
package main
import (
"fmt"
"os"
"github.com/self-evolving-research/obfuscator/pkg/integrity"
)
func main() {
if len(os.Args) < 2 {
fmt.Fprintf(os.Stderr, "Usage: inthash <binary-path>\n")
os.Exit(1)
}
hash, err := integrity.ComputeHashForEmbedding(os.Args[1])
if err != nil {
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
}
fmt.Print(hash)
}