package icon

Derandom

Pseudo random number predictor
New in version 2.5
Made adjustments for Android 15.
Improved number history scrolling.
Improved reliability of double numbers processing.
Updated logo.
Predicts pseudo random numbers based on a sequence of observed numbers.

Enter a sequence of numbers that you obtained from a pseudo random number generator like, for instance, the Java standard pseudo random number generator or the Mersenne Twister MT19937. The app will then try to predict following numbers from the generator.

The app expects all numbers to be entered as integers or floating point numbers between zero and one. Currently, floating point numbers are supported for the Mersenne Twister only. Three input modes are supported:
1. Text field lets you enter the numbers directly on the device.
2. File lets you choose a file with newline separated number strings.
3. Socket opens a server socket on the device. You can then connect with a custom client by means of a client socket and send newline separated number strings to the server. After each number the server will send back the next newline separated predictions. Each block of predictions is separated by an additional newline.

To test the app, enter the following numbers in the Text field:

1412437139
1552322984
168467398
1111755060
-928874005


These numbers were sampled from the Java linear congruential generator Random.nextInt(). Thus, the app should detect LCG: Java after the third number input, and numbers in the prediction history should appear in green instead of red, indicating that those numbers were correctly predicted.

The source code of this app is published on GitLab. There you can also find a Python program for testing socket input: https://gitlab.com/asnelt/derandom/blob/HEAD/README.md

Donate

Versions

Although APK downloads are available below to give you the choice, you should be aware that by installing that way you will not receive update notifications and it's a less secure way to download. We recommend that you install the F-Droid client and use that.

Download F-Droid
  • Version 2.5 (15) suggested Added on Jul 19, 2024

    This version requires Android 5.0 or newer.

    It is built by F-Droid and guaranteed to correspond to this source tarball.

    Permissions
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • org.asnelt.derandom.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    Download APK 3.0 MiB PGP Signature | Build Log

  • Version 2.4 (14) - Added on Oct 19, 2020

    This version requires Android 4.0.3 or newer.

    It is built by F-Droid and guaranteed to correspond to this source tarball.

    Permissions
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • read the contents of your shared storage
      Allows the app to read the contents of your shared storage.

    Download APK 2.1 MiB PGP Signature | Build Log

  • Version 2.3 (13) - Added on Sep 11, 2019

    This version requires Android 4.0.3 or newer.

    It is built by F-Droid and guaranteed to correspond to this source tarball.

    Permissions
    • have full network access
      Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
    • read the contents of your shared storage
      Allows the app to read the contents of your shared storage.

    Download APK 2.1 MiB PGP Signature | Build Log