Skip to content

Commit

Permalink
Merge pull request #133 from MrPetovan/patch-1
Browse files Browse the repository at this point in the history
Fix a couple typos in function phpDoc in src/Compat
  • Loading branch information
paragonie-security committed Jun 4, 2021
2 parents 2e856af + 732baaf commit c5911e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -3013,7 +3013,7 @@ public static function crypto_stream($len, $nonce, $key)
/**
* DANGER! UNAUTHENTICATED ENCRYPTION!
*
* Unless you are following expert advice, do not used this feature.
* Unless you are following expert advice, do not use this feature.
*
* Algorithm: XSalsa20
*
Expand Down Expand Up @@ -3112,7 +3112,7 @@ public static function crypto_stream_xchacha20($len, $nonce, $key, $dontFallback
/**
* DANGER! UNAUTHENTICATED ENCRYPTION!
*
* Unless you are following expert advice, do not used this feature.
* Unless you are following expert advice, do not use this feature.
*
* Algorithm: XChaCha20
*
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public static function hashEquals($left, $right)
}

/**
* Catch hash_update() failures and throw instead of silently proceding
* Catch hash_update() failures and throw instead of silently proceeding
*
* @param HashContext|resource &$hs
* @param string $data
Expand Down

0 comments on commit c5911e1

Please sign in to comment.