Skip to content

Commit

Permalink
chore: fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
joeslazaro committed Apr 9, 2024
1 parent dd07d9e commit 224283f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions argon2id.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ type Params struct {

// CreateHash returns an Argon2id hash of a plain-text password using the
// provided algorithm parameters. The returned hash follows the format used by
// the Argon2 reference C implementation and contains the base64-encoded Argon2id d
// derived key prefixed by the salt and parameters. It looks like this:
// the Argon2 reference C implementation and contains the base64-encoded
// Argon2id derived key prefixed by the salt and parameters. It looks like this:
//
// $argon2id$v=19$m=65536,t=3,p=2$c29tZXNhbHQ$RdescudvJCsgt3ub+b+dWRWJTmaaJObG
func CreateHash[T interface{ string | []byte }](password T, params *Params) (hash string, err error) {
Expand Down

0 comments on commit 224283f

Please sign in to comment.