Skip to content

Commit baa949a

Browse files
committed
Update design elements
1 parent b8c206d commit baa949a

15 files changed

+270
-160
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust_crypt"
3-
version = "1.0.0"
3+
version = "1.1.0"
44
authors = ["Abdellatif EL MIZEB <[email protected]>"]
55
edition = "2021"
66
include = ["LICENSE", "**/*.rs", "Cargo.toml"]

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ A GUI-based encryption app built with Rust to explore and test the Rust GUI ecos
1212
It allows users to encrypt and decrypt text using configurable logic. Designed to be educational, flexible, and a hands-on testbed for learning GUI development in Rust.
1313

1414
## 🔎 Preview
15-
![Preview Encrypt](./media/preview-encrypt.png) ![Preview Decrypt](./media/preview-decrypt.png)
15+
![Preview Encrypt Text](./media/preview-text-encrypt.png) ![Preview Decrypt Text](./media/preview-text-decrypt.png)
16+
![Preview Decrypt Text](./media/preview-file-decrypt.png)![Preview Decrypt Text](./media/preview-file-decrypt.png)
1617

1718
## 🧠 Features
1819

media/preview-decrypt.png

-20.9 KB
Binary file not shown.

media/preview-encrypt.png

-20.6 KB
Binary file not shown.

media/preview-file-decrypt.png

29 KB
Loading

media/preview-file-encrypt.png

29.1 KB
Loading

media/preview-text-decrypt.png

27.7 KB
Loading

media/preview-text-encrypt.png

27.3 KB
Loading

src/app/views/about.rs

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
1-
use egui::Ui;
1+
use egui::{RichText, Ui};
22

33
pub fn about_view(ui: &mut Ui) {
4-
ui.label("📂 About This App");
4+
let version = env!("CARGO_PKG_VERSION");
5+
6+
ui.heading(RichText::new("📂 About This App").size(20.0).strong());
7+
ui.label(RichText::new(format!("Version: {}", version)).monospace().small());
58
ui.separator();
6-
ui.label("🔐 Text Encryption/Decryption Tool");
7-
ui.label("This application allows you to securely encrypt and decrypt text using simple cipher methods:");
8-
ui.label("• Caesar Cipher – A basic letter-shifting algorithm.");
9-
ui.label("• XOR Cipher – Applies bitwise XOR using a repeating key.");
10-
ui.add_space(8.0);
11-
ui.label("🛠 Features:");
12-
ui.label("• Select encryption method");
13-
ui.label("• Enter a custom key");
14-
ui.label("• Encrypt or decrypt text with a single click");
15-
ui.label("• View input/output in real-time");
16-
ui.add_space(8.0);
17-
ui.label("📦 Built with Rust and egui.");
18-
ui.label("💡 Created as a simple demonstration of interactive GUI and cipher logic.");
9+
ui.add_space(10.0);
10+
11+
ui.group(|ui| {
12+
ui.vertical(|ui| {
13+
ui.label(RichText::new("🔐 Purpose").strong());
14+
ui.label("This application allows you to securely encrypt and decrypt text using simple cipher methods:");
15+
ui.add_space(4.0);
16+
ui.label("• Caesar Cipher – A basic letter-shifting algorithm.");
17+
ui.label("• XOR Cipher – Applies bitwise XOR using a repeating key.");
18+
19+
ui.add_space(10.0);
20+
ui.label(RichText::new("🛠 Features").strong());
21+
ui.label("• Select encryption method");
22+
ui.label("• Enter a custom key");
23+
ui.label("• Encrypt or decrypt text with a single click");
24+
ui.label("• View input/output in real-time");
25+
26+
ui.add_space(10.0);
27+
ui.label(RichText::new("💻 Technology").strong());
28+
ui.label("• Built with Rust and egui");
29+
ui.label("• Created as a simple demonstration of interactive GUI and cipher logic");
30+
});
31+
});
1932
}

0 commit comments

Comments
 (0)