Skip to content

Commit

Permalink
Fixing documentation error
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesportwoodii authored Jul 19, 2017
1 parent 4e51f75 commit a7b0667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/PasswordHash.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ PasswordHash.Scrypt // Scrypt
__Namespace:__ _Sodium.PasswordHash_

```C#
public static String Sodium.PasswordHash.Hash(String password, int algorithm, PasswordHashOptions options)
public static String Sodium.PasswordHash.Hash(String password, PasswordHashOptions options, int algorithm)
```

_Internally this method will use either `crypto_pwhash_scryptsalsa208sha256_str`, `crypto_pwhash_argon2i_str`, or `crypto_pwhash_argon2id_str`, depending upon the algorithm set._
Expand All @@ -74,4 +74,4 @@ __Namespace:__ _Sodium.PasswordHash_
public static bool Sodium.PasswordHash.Verify(String hash, String password)
```

_Internally this method will use either `crypto_pwhash_scryptsalsa208sha256_str_verify` or `crypto_pwhash_str_verify`, depending upon the algorithm set._
_Internally this method will use either `crypto_pwhash_scryptsalsa208sha256_str_verify` or `crypto_pwhash_str_verify`, depending upon the algorithm set._

0 comments on commit a7b0667

Please sign in to comment.