adding internal crypto pkg

main
spinach 2 months ago
parent 7b619f0fcf
commit 27e964549f

@ -1,7 +1,13 @@
package main
import "fmt"
import (
"fmt"
"git.keegandeppe.com/kdeppe/adonis/internal/crypto"
"os"
)
func main() {
fmt.Println("adonis")
crypto.test()
os.Exit(0)
}

@ -0,0 +1,11 @@
package crypto
import "crypto/bcrypt"
func test() {
hash, err := bcrypt.GenerateFromPassword(pwd, bcrypt.DefaultCost)
if err != nil {
panic(err)
}
fmt.Println(string(hash))
}

@ -1,7 +0,0 @@
# Adonis
## Goals
- Workout app with a focus on simplicity and extensibility
- Ship a barebones set of features with clear vision for add-ons

@ -0,0 +1,11 @@
# Adonis
## Goals
Workout app with a focus on simplicity and extensibility
## Design
- Want to be more dynamic to allow for future insights to shape program design
- Avoid strict periodization, instead allow for planning as a user sees fit
- To accomplish this important to keep workout design as flexible as possible -> any time, multiple per day, etc.
Loading…
Cancel
Save