Skip to content

Commit baa41d6

Browse files
committed
cryptonote wip
1 parent a456d42 commit baa41d6

File tree

20 files changed

+1482
-196
lines changed

20 files changed

+1482
-196
lines changed

rust/cryptonote/Cargo.lock

Lines changed: 292 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/cryptonote/Cargo.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ edition = "2021"
88

99
[dependencies]
1010
dioxus = { version = "0.6.0", features = ["router"] }
11+
chacha20poly1305 = "0.10"
12+
aes-gcm = "0.10"
13+
x25519-dalek = { version = "2.0", features = ["static_secrets"] }
14+
hkdf = "0.12"
15+
sha2 = "0.10"
16+
base64 = "0.22"
17+
qrcode = "0.14"
18+
getrandom = { version = "0.2", features = ["js"] }
19+
serde = { version = "1.0", features = ["derive"] }
20+
serde_json = "1.0"
21+
web-sys = { version = "0.3", features = [
22+
"Window",
23+
"Location",
24+
"Navigator",
25+
"Clipboard",
26+
] }
1127

1228
[features]
1329
default = ["web"]
@@ -17,3 +33,15 @@ web = ["dioxus/web"]
1733
desktop = ["dioxus/desktop"]
1834
# The feature that are only required for the mobile = ["dioxus/mobile"] build target should be optional and only enabled in the mobile = ["dioxus/mobile"] feature
1935
mobile = ["dioxus/mobile"]
36+
37+
[profile]
38+
39+
[profile.wasm-dev]
40+
inherits = "dev"
41+
opt-level = 1
42+
43+
[profile.server-dev]
44+
inherits = "dev"
45+
46+
[profile.android-dev]
47+
inherits = "dev"

rust/cryptonote/Dioxus.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[web.app]
44

55
# HTML title tag content
6-
title = "cryptonote"
6+
title = "Cryptonote"
77

88
# include `assets` in web platform
99
[web.resource]

rust/cryptonote/README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@
22

33
Cryptonote is a cross-platform, fully offline application for creating, storing, and sharing encrypted notes. It is completely serverless and runs entirely on your device or in your web browser - no internet connection or external services are required.
44

5-
With Cryptonote, you can:
5+
With Cryptonote you can:
66

77
- Write a short plain-text note
8-
- Optionally encrypt it using strong, well-established symmetric (e.g., AES-GCM, ChaCha20-Poly1305) or asymmetric algorithms (e.g., X25519 + AES-GCM hybrid)
8+
- Optionally encrypt it using strong, well-established algorithms:
9+
- Symmetric (e.g., AES-GCM, ChaCha20-Poly1305)
10+
- Asymmetric (e.g., X25519 + AES-GCM hybrid encryption)
911
- Or leave it unencrypted
10-
- Share the note instantly via a URL or scannable QR code
12+
- Share the note instantly via a URL or a scannable QR code
1113

12-
All content, including the ciphertext or plaintext, is embedded directly in the URL itself, making sharing as simple as sending a link or showing a QR code.
14+
All content - whether ciphertext or plaintext - is embedded directly in the URL itself, making sharing as simple as sending a link or displaying a QR code.
1315

1416
Cryptonote follows modern cryptographic best practices:
1517

16-
- Strong key derivation using HKDF
17-
- Authenticated encryption ensuring confidentiality, integrity, and authenticity
18-
- No data ever leaves your device unless you explicitly share it
18+
- Strong key derivation with HKDF, allowing users to supply just a password (which is used directly as the initial keying material)
19+
- Authenticated encryption for confidentiality, integrity, and authenticity
20+
- No data ever leaves your device unless you explicitly choose to share it
1921

20-
Secure, private, and truly offline - your notes stay yours.
22+
Secure, private, and truly offline - your notes remain yours alone.
23+
24+
The Cryptonote interface is fully internationalized and currently supports English, Spanish, and Russian.

rust/cryptonote/assets/matcha.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/cryptonote/assets/styling/blog.css

Lines changed: 0 additions & 8 deletions
This file was deleted.

rust/cryptonote/assets/styling/main.css

Lines changed: 0 additions & 42 deletions
This file was deleted.

rust/cryptonote/assets/styling/navbar.css

Lines changed: 0 additions & 16 deletions
This file was deleted.

rust/cryptonote/assets/tailwind.css

Whitespace-only changes.

rust/cryptonote/src/components/hero.rs

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)