Skip to content
This repository was archived by the owner on Oct 24, 2020. It is now read-only.
This repository was archived by the owner on Oct 24, 2020. It is now read-only.

Warning: Using non-secure random number generator #114

Description

@UpalChakraborty

Warning: Using non-secure random number generator. in /public_html/php-client/mdanter/ecc/src/Random/GmpRandomNumberGenerator.php on line 13

Triggering file: https://github.com/blockcypher/php-client/blob/master/sample/transaction-api/CreateAndSignAndSendTransaction.php

PHP Version: 7.4

Codebase: https://github.com/blockcypher/php-client/releases/tag/v1.5.0

Appears to be a problem occurring due to deprecation of 'mcrypt' from PHP 7.1 (Ref: https://www.php.net/manual/en/migration71.deprecated.php).

Without installing 'mcrypt' or suppressing warning messages or degrading below PHP 7.4, how do I fix it properly?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions