From 9673984551fd0ae495d54d148c91dba418618cb1 Mon Sep 17 00:00:00 2001 From: risotto Date: Sun, 29 Dec 2024 03:35:36 -0700 Subject: [PATCH] init module --- README.md | 11 ++++++++++- go.mod | 3 +++ login/argon2id/main.go | 1 + login/bcrypt/main.go | 1 + login/md5pepper/main.go | 3 +++ session/jwt/main.go | 1 + session/opaque/main.go | 1 + 7 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 go.mod create mode 100644 login/argon2id/main.go create mode 100644 login/bcrypt/main.go create mode 100644 login/md5pepper/main.go create mode 100644 session/jwt/main.go create mode 100644 session/opaque/main.go diff --git a/README.md b/README.md index 33bd437..4a5c6d8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ # Who Is This -> Session library code \ No newline at end of file +> Session library code + + +- Logins + - Argon2ID + - Bcrypt + - MD5 pepper (for fun) +- Sessions + - Opaque + - JWTs \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..d9d965b --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.bivouac.wiki/use/whoisthis + +go 1.22.5 diff --git a/login/argon2id/main.go b/login/argon2id/main.go new file mode 100644 index 0000000..883e4b0 --- /dev/null +++ b/login/argon2id/main.go @@ -0,0 +1 @@ +package argon2id diff --git a/login/bcrypt/main.go b/login/bcrypt/main.go new file mode 100644 index 0000000..500b4be --- /dev/null +++ b/login/bcrypt/main.go @@ -0,0 +1 @@ +package bcrypt diff --git a/login/md5pepper/main.go b/login/md5pepper/main.go new file mode 100644 index 0000000..b17bc54 --- /dev/null +++ b/login/md5pepper/main.go @@ -0,0 +1,3 @@ +package md5pepper + +// an old historical implementation diff --git a/session/jwt/main.go b/session/jwt/main.go new file mode 100644 index 0000000..e22cb07 --- /dev/null +++ b/session/jwt/main.go @@ -0,0 +1 @@ +package jwt diff --git a/session/opaque/main.go b/session/opaque/main.go new file mode 100644 index 0000000..ac106ba --- /dev/null +++ b/session/opaque/main.go @@ -0,0 +1 @@ +package opaque