Derandom icon

Derandom APK

by Arno Onken · Security

Pseudo random number predictor

Download APK v2.7 · 3.0 MB
Derandom screenshot 1Derandom screenshot 2Derandom screenshot 3Derandom screenshot 4Derandom screenshot 5Derandom screenshot 6Derandom screenshot 7Derandom screenshot 8

About Derandom

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:

  • Text field lets you enter the numbers directly on the device.
  • File lets you choose a file with newline separated number strings.
  • 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

What's new in version 2.7

Made adjustments for Android 17.

APK file information

Package nameorg.asnelt.derandom
Version2.7 (code 17)
Minimum AndroidAndroid 5.0 · targets API 37
ArchitecturesAll (universal)
SHA-256e06fe1efbee5c64195ff69f72cc62456795d51e40517f9c0da4127edd61f5122
Signature1dfcde78bf44cd8b6f1a4eb71c216f0141a61a1dbe92dbae2270399a346faf90
LicenceApache-2.0 — permissive free licence: the source code is public and reusable
Source codegitlab.com/asnelt/derandom

Permissions

  • Internet access
1 other technical permission(s)

ACCESS_LOCAL_NETWORK

Older versions

How to install Derandom APK

  1. Tap Download APK above, then open the file once the download has finished.
  2. If Android asks, allow your browser to install unknown apps.
  3. Tap Install. Derandom then appears with your other apps.

Having trouble? Read our guides how to install an APK on Android and "App not installed": how to fix it.

Frequently asked questions

Is Derandom free?

Yes. Derandom is distributed under the Apache-2.0 licence: free, no subscription, and its source code is public.

Is this APK file safe?

The file is the one built and published by the F-Droid repository from the public source code. Its SHA-256 fingerprint is shown above, so you can compare it after downloading. How to check an APK.

Will Derandom work on my phone?

You need at least Android 5.0. The app also works without Google services, so it runs on recent Huawei phones too.

Similar apps