paragonie / constant_time_encoding

Constant-Time Character Encoding in PHP Projects

Home Page:https://paragonie.com/blog/2016/06/constant-time-encoding-boring-cryptography-rfc-4648-and-you

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Base64::encode may return bool?

fkooman opened this issue · comments

* @return string|bool

In which situation can this method return a bool?

commented

It used to instead of throwing a RangeException. Now it always returns a string.

commented

This is fixed in 2.1.0. Thanks for letting me know about this. :)