Fast pseudorandom number generator for cryptography in C

前端 未结 4 2784
傲寒
傲寒 2021-02-20 16:35

I was using the following code to generate sequence of pseudo-random numbers that was used for cryptographic purposes, but then I read somewhere that it may not be very secure.

4条回答
  •  天命终不由人
    2021-02-20 16:58

    Don't "roll your own" cryptography. Use a certified library instead.

    For speed, try using a library that can run on the GPU, which has far more computing power.

提交回复
热议问题