note-taking/Cargo.toml
Sofía Aritz f4b5a0541d Improve security of encrypted notes
Closes #1.

The password is hashed using Argon2, with the salt being `SHA256(password)`. The output hash is then encoded using hex.

The password-checking function checks if the "note database" is encrypted using the plain password (and returns it) or if it is encrypted using the hashed+salted password (and returns the value). This allows older databases to work properly.

A migration path may be added in the future.
2023-03-05 17:35:04 +01:00

21 lines
353 B
TOML

[package]
name = "note-taking"
version = "0.1.0"
edition = "2021"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
egui = "0.21"
eframe = "0.21"
anyhow = "1"
log = "0.4"
simple_logger = "4.0"
chrono = "0.4"
serde_json = "1.0"
rand = "0.8"
pwbox = "0.5"
directories = "4.0"
native-dialog = "0.6"
hex = "0.4"
sha2 = "0.10"
argon2 = "0.5"