Skip to content

Commit

Permalink
improved
Browse files Browse the repository at this point in the history
  • Loading branch information
jamielsharief committed Oct 16, 2019
1 parent d98e190 commit 5ee4efd
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 @@ -4,7 +4,7 @@
[![build](https://travis-ci.org/originphp/security.svg?branch=master)](https://travis-ci.org/originphp/security)
[![coverage](https://coveralls.io/repos/github/originphp/security/badge.svg?branch=master)](https://coveralls.io/github/originphp/security?branch=master)

The `Security` library provides various function related to security such as hashing, encryption, decryption.
The `Security` library provides various function related to security such as hashing, encryption, decryption and secure random string generation.

## Installation

Expand Down Expand Up @@ -123,7 +123,7 @@ If you need to generate a unique id, and don't need to use a UUID, then the UID

> If you are generating a API token or another form of string that a user might need to type in, then use `Security::random` or `Security::uuid` instead since these use lower case characters.
To generate a cryptographically secure unique id (UID) with the default length of 16.
To generate a cryptographically secure unique id (UID) using base62 with a default length of 16.

```php
$uid = Security::uid(); // O64cjBxfz2JPhyCQ
Expand Down

0 comments on commit 5ee4efd

Please sign in to comment.