Unverified Commit b77aaa50 authored by P.I.E. Security Team's avatar P.I.E. Security Team Committed by GitHub
Browse files

Merge pull request #28 from szepeviktor/patch-1

Show users the proper way of importing classes
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -36,7 +36,7 @@ composer require paragonie/constant_time_encoding ...@@ -36,7 +36,7 @@ composer require paragonie/constant_time_encoding
## How to Use ## How to Use
```php ```php
use \ParagonIE\ConstantTime\Encoding; use ParagonIE\ConstantTime\Encoding;
// possibly (if applicable): // possibly (if applicable):
// require 'vendor/autoload.php'; // require 'vendor/autoload.php';
...@@ -63,8 +63,8 @@ If you only need a particular variant, you can just reference the ...@@ -63,8 +63,8 @@ If you only need a particular variant, you can just reference the
required class like so: required class like so:
```php ```php
use \ParagonIE\ConstantTime\Base64; use ParagonIE\ConstantTime\Base64;
use \ParagonIE\ConstantTime\Base32; use ParagonIE\ConstantTime\Base32;
$data = random_bytes(32); $data = random_bytes(32);
echo Base64::encode($data), "\n"; echo Base64::encode($data), "\n";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment