Skip to content

Commit

Permalink
fix test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent.Meng committed Apr 20, 2018
1 parent fdfc4ae commit afb7639
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ A [CodeIgniter](http://codeigniter.com) Plugin for implementing [Hashids](http:/

## Usage

Encrypt: <?=hashids_encode(1234)?>
Decrypt: <?=hashids_decode("1lj")?>
Encrypt: <?=hashids_encrypt(1234)?>
Decrypt: <?=hashids_decrypt("1lj")?>

Custom Encrypt: <?=hashids_encode(1234, 'alternate config salt', 10)?>
Custom Encrypt: <?=hashids_decode('pjxalngQJ3', 'alternate config salt', 10)?>
Custom Encrypt: <?=hashids_encrypt(1234, 'alternate config salt', 10)?>
Custom Encrypt: <?=hashids_decrypt('pjxalngQJ3', 'alternate config salt', 10)?>

## Quick Test

Expand Down

0 comments on commit afb7639

Please sign in to comment.