Skip to content

Commit

Permalink
Move this to the section it belongs
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Sep 22, 2018
1 parent b9f127e commit 7b73005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ if (\Sodium\crypto_sign_verify_detached($signature, $message, $alice_pk)) {
The polyfill does not expose this API on PHP < 5.3, or if you have the PHP
extension installed already.

Since this doesn't require a namespace, this API *is* exposed on PHP 5.2.

## General-Use Polyfill

If your users are on PHP < 5.3, or you want to write code that will work
Expand Down Expand Up @@ -151,6 +149,8 @@ Generally: If you replace `\Sodium\ ` with `ParagonIE_Sodium_Compat::`, any
code already written for the libsodium PHP extension should work with our
polyfill without additional code changes.

Since this doesn't require a namespace, this API *is* exposed on PHP 5.2.

Since version 0.7.0, we have our own namespaced API (`ParagonIE\Sodium\*`) to allow brevity
in software that uses PHP 5.3+. This is useful if you want to use our file cryptography
features without writing `ParagonIE_Sodium_File` every time. This is not exposed on PHP < 5.3,
Expand Down

0 comments on commit 7b73005

Please sign in to comment.