summaryrefslogtreecommitdiff
path: root/tests/libbuild.go
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-09-13 05:20:17 -0300
committerEuAndreh <eu@euandre.org>2024-09-13 05:46:30 -0300
commite10e1f2105ed85307f83dbca6eeb7ec4d9b7c495 (patch)
tree90168744d29e1d2883ba8e760b50e08a15489f52 /tests/libbuild.go
parentInitial empty commit (diff)
downloadscrypt-e10e1f2105ed85307f83dbca6eeb7ec4d9b7c495.tar.gz
scrypt-e10e1f2105ed85307f83dbca6eeb7ec4d9b7c495.tar.xz
Init: copy code from gobang
Diffstat (limited to 'tests/libbuild.go')
-rw-r--r--tests/libbuild.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/libbuild.go b/tests/libbuild.go
new file mode 100644
index 0000000..724d17a
--- /dev/null
+++ b/tests/libbuild.go
@@ -0,0 +1,14 @@
+package main
+
+import (
+ "encoding/hex"
+ "fmt"
+
+ "scrypt"
+)
+
+func main() {
+ fmt.Println(
+ hex.EncodeToString(scrypt.Hash(scrypt.Salt(), scrypt.Salt())),
+ )
+}