Skip to content

Commit

Permalink
Get rid of chr()/ord()
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-scott committed Mar 12, 2016
1 parent 7f41537 commit b185fef
Show file tree
Hide file tree
Showing 2 changed files with 271 additions and 162 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

[![Build Status](https://travis-ci.org/paragonie/constant_time_encoding.svg?branch=master)](https://travis-ci.org/paragonie/constant_time_encoding)

### Security Warning: Due to how PHP implements `chr()` (and there is no way to work around it), this cannot achieve true cache-timing safety.

However, if you implement the algorithms in C as part of php-src, you can.

---
Expand All @@ -18,6 +16,7 @@ Our fork offers the following enchancements:
* Unit tests
* Composer- and Packagist-ready
* Base32 encoding
* Uses `pack()` and `unpack()` instead of `chr()` and `ord()`

## How to Install

Expand Down
Loading

0 comments on commit b185fef

Please sign in to comment.