BlockIo / block_io-php

PHP library for Block.io
MIT License
56 stars 139 forks source link

mrypt functions are deprecated #13

Closed RishabSwift closed 7 years ago

RishabSwift commented 7 years ago

While withdrawing money, I'm getting an exception.

ErrorException in block_io.php line 303:Function mcrypt_decrypt() is deprecated

Using PHP 7.0. Please fix this!

Maybe openssl_encrypt would be a better choice.

RishabSwift commented 7 years ago

Any update on a fix? I've been using Curl for now

doersf commented 7 years ago

We're looking into this. In the mean time, use an earlier version of PHP.

RishabSwift commented 7 years ago

I am using curl in the mean time. I cannot use an earlier version of PHP for various reasons. Maybe put on the docs that this does not work with 7.0?