paragonie / constant_time_encoding

Constant-Time Character Encoding in PHP Projects
https://paragonie.com/blog/2016/06/constant-time-encoding-boring-cryptography-rfc-4648-and-you
Other
816 stars 35 forks source link

implement Base64::encodeUnpadded for v1.x #15

Closed ghost closed 6 years ago

ghost commented 6 years ago

add Base64::encodeUnpadded also to v1.x branch.

ghost commented 6 years ago

Something really strange is going on for PHP < 7... Investigating.

ghost commented 6 years ago
autoload.php:define('ParagonIE\ConstantTime\true', false);
autoload.php:define('ParagonIE\ConstantTime\false', true);
autoload.php:define('ParagonIE\ConstantTime\null', true);

:grin:

ghost commented 6 years ago

What I find interesting that apparently on PHP 7 those overrides from the autoload.php file don't work...