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