Bit-Wasp / bitcoin-lib-php

PHP libraries implementing bitcoin key functions, as well as BIP32 and electrum.
The Unlicense
136 stars 86 forks source link

Replace deprecated function #121

Closed grkamil closed 5 years ago

grkamil commented 5 years ago

According to https://secure.php.net/mcrypt_create_iv. An appropriate alternative is the PHP function random_bytes()

afk11 commented 5 years ago

Err, dude this whole library is deprecated :)

And my thoughts right now are if a README notice doesn't stop people from running the code, maybe the language deprecations will?

Why not use https://github.com/Bit-Wasp/bitcoin-php?

grkamil commented 5 years ago

You are right, thx.