Awesome REA
English
Back to all cases

Aegis: finding the Android TOTP algorithm

Target: Aegis Authenticator 3.4.3 Android APK

Author / attribution: REA showcase team; original project authors credited in sources

Source review date:

Review status: Sources reviewed; author tests not independently rerun.

The question

How is a six-digit login code calculated every 30 seconds?

What REA did

REA Android analysis locates generation, display and copy methods. The author reads the HOTP/TOTP calculation and builds a browser demo with an adjustable clock.

Author-reported results

The official page reports 133 cases comparing the extracted method with an independent implementation, plus the six SHA-1 reference vectors from RFC 6238.

Limitations and unverified claims

The scope is code generation, not a reconstruction of the vault, encrypted storage or the whole app. This catalog did not rerun the cases.

What to learn

Choose a small feature that can be verified independently and constrain its implementation with public standard test vectors.

REA usage evidence in the source

Inspected with REA 6.1.0 on 9 October 2026.

Excerpt formatting is simplified. Read the original source for full context.

Original sources

Independent editorial summary. Credit belongs to the original authors. Target software, installers and complete decompiler output are not redistributed here.

View this case on GitHub · Suggest a correction