summaryrefslogtreecommitdiff
path: root/tests/libbuild.go
diff options
context:
space:
mode:
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())),
+ )
+}