Compare commits

..

No commits in common. "c216e4903904f76dc6f10449eba38d15ad7660c1" and "bd72a9b11d0e1db865e8c32156843f477027cfa2" have entirely different histories.

2 changed files with 27 additions and 15 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
test
.kdev4
.vscode

View File

@ -11,9 +11,11 @@ go get github.com/GRMrGecko/go-passwd
## Example
```go
package main
import (
"log"
"github.com/GRMrGecko/go-passwd"
"log"
)
func main() {
@ -33,6 +35,14 @@ func main() {
log.Println("The new password hash to save is:", string(hash))
}
}
```
Example output:
```
$ ./test
2024/09/07 18:42:35 Password confirmed, saving new password.
2024/09/07 18:42:35 The new password hash to save is: $6$4Eu/l5e.otcRj0rJ$YAlwxJD9pZY9.Z2TjseCbkXiUIrFU2AXh9DPEm5Z1SagxP..xaQCsz7jAgfW4nmUbLh.o23pEZGvvxPCLltf11
```
## Known issues