Skip to main content

Crate iwcore

Crate iwcore 

Source
Expand description

§IntelliWallet Core

A secure password manager library with AES-256 encryption.

§Features

  • AES-256-CBC encryption with PKCS7 padding
  • SQLite database storage
  • Hierarchical item organization (folders)
  • Custom field types and labels
  • Backup and restore functionality
  • Multi-language support (11 languages)

§Example

use iwcore::Wallet;
use std::path::Path;

let mut wallet = Wallet::open(Path::new("/path/to/wallet")).unwrap();
wallet.unlock("my_password").unwrap();

let items = wallet.get_items().unwrap();
for item in items {
    println!("{}: {}", item.item_id, item.name);
}

Re-exports§

pub use error::WalletError;
pub use error::Result;
pub use database::models::IWItem;
pub use database::models::IWField;
pub use database::models::IWLabel;
pub use database::models::IWProperties;
pub use database::models::SearchResult;
pub use database::models::SearchMatchType;
pub use business::Wallet;
pub use backup::BackupManager;
pub use backup::BackupType;
pub use localization::Translations;
pub use crypto::generate_password;
pub use crypto::generate_clever_password;
pub use crypto::PasswordOptions;
pub use export::ExportItemType;
pub use export::PDFItemModel;

Modules§

backup
Backup and restore functionality
business
Business logic layer for IntelliWallet
crypto
Cryptographic operations for IntelliWallet
database
Database layer for IntelliWallet
error
Error types for IntelliWallet Core
export
Export functionality for IntelliWallet
localization
Localization and translation support
utils
Utility functions

Constants§

DATABASE_FILENAME
Database filename
DB_VERSION
Database version constant
ENCRYPTION_COUNT_DEFAULT
Default encryption iteration count
FIELD_ID_LENGTH
Field ID length
ITEM_ID_LENGTH
Item ID length
LABEL_ID_LENGTH
Label ID length
PASSWORD_MAX_LENGTH
Maximum password length
PASSWORD_MIN_LENGTH
Minimum password length
ROOT_ID
Root item ID
ROOT_PARENT_ID
Root parent ID placeholder
SEARCH_MIN_LENGTH
Minimum search phrase length