This Rust application generates EScreen codes (ESC codes) for BlackBerry devices based on the phone's PIN, OS version, and uptime. It provides an easy-to-use graphical user interface (GUI) using eframe
and egui
.
- ESC Code Generation: Generate ESC codes by providing a BlackBerry PIN, OS version, and uptime.
- Clipboard Integration: Copy the generated ESC code for the 30-day period to the clipboard.
- User-friendly Interface: Simple input fields and toast notifications to guide the user.
- Cross-Platform: Works on both Windows and other supported OSes.
Make sure you have Rust installed on your system. Then, clone the repository and build the application.
git clone <repository-url>
cd <repository-directory>
cargo build --release
cargo run
-
ESC::get_key(d: &str) -> Vec<String>
:- Takes a combined string of phone PIN, OS version, and uptime, and generates a list of ESC codes by using HMAC-SHA1 with a secret key.
-
ESC::convert_to_hex(data: &str) -> String
:- Converts the generated ESC codes from ASCII to hexadecimal format.
-
HMACSHA1::get_hmac_sha1(data: &[u8], key: &[u8]) -> Vec<u8>
:- Computes HMAC-SHA1 using the provided data and a fixed key (
"Up the time stream without a TARDIS"
).
- Computes HMAC-SHA1 using the provided data and a fixed key (
-
AppState
:- Holds the state of the application, including user inputs for phone PIN, OS version, and uptime, along with generated ESC codes.
- Handles the logic for generating codes and displaying results.
- Input your phone PIN, OS version, and uptime into the provided fields.
- Click "Generate" to generate the ESC codes.
- Click "Copy 30-day Result" to copy the generated ESC code to your clipboard.