Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 4 additions & 26 deletions dictsqlite_v2/dictsqlite/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dictsqlite_v2/dictsqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ argon2 = "0.5" # Password hashing (PBKDF2 alternative)
pbkdf2 = { version = "0.12", features = ["simple"] } # PBKDF2 key derivation
sha2 = "0.10" # SHA-256 hashing
base64 = "0.22" # Base64 encoding
rand = "0.8" # Random number generation

# System info
num_cpus = "1.16" # CPU core detection
Expand Down
3 changes: 1 addition & 2 deletions dictsqlite_v2/dictsqlite/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
//! - 高速化のため、鍵をキャッシュ

use aes_gcm::{
aead::{Aead, KeyInit, OsRng},
aead::{rand_core::RngCore, Aead, KeyInit, OsRng},
Aes256Gcm, Nonce,
};
use pbkdf2::pbkdf2_hmac;
use rand::RngCore;
use sha2::Sha256;
use std::sync::Arc;
use thiserror::Error;
Expand Down
Loading
Loading