Blum Blum Shub Algorithm for PRNG

A Pseudo-Random Number Generator Using Blum Blum Shub Algorithm

You are now following this Submission

MATLAB Script to implement the Blum Blum
Shub Algorithm for PRNG. The seed x0 should be an integer that is
co-prime to M (i.e. p and q are not factors of x0) and not 1 or 0.

Cite As

Dr Raveendranathan K C (2026). Blum Blum Shub Algorithm for PRNG (https://www.mathworks.com/matlabcentral/fileexchange/46130-blum-blum-shub-algorithm-for-prng), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Random Number Generation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0