Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kaiden42/PWDuck
/ functions
Functions
645 in github.com/Kaiden42/PWDuck
⨍
Functions
645
◇
Types & classes
103
↓ 505 callers
Method
into
Decrypt the [`EncryptedBody`](EncryptedBody) with the master key.
core/src/model/entry.rs:353
↓ 230 callers
Function
new
()
gui/src/vault/container/list.rs:754
↓ 160 callers
Function
new
()
gui/src/lib.rs:937
↓ 90 callers
Method
clone
(&self)
gui/src/error.rs:30
↓ 77 callers
Method
clone
(&self)
core/src/error.rs:40
↓ 58 callers
Method
style
(&self)
gui/src/theme.rs:276
↓ 39 callers
Function
icon_button
( button_data: ButtonData<'a, Message>, tooltip: impl Into<String>, icon_only: bool, theme: &d
gui/src/utils.rs:78
↓ 37 callers
Method
get_root_uuid
(&self)
core/src/model/vault.rs:299
↓ 35 callers
Method
is_empty
(&self)
core/src/model/vault.rs:500
↓ 34 callers
Function
new
()
gui/src/vault/tab.rs:430
↓ 29 callers
Method
with
Create a new [`ModifyEntryView`](ModifyEntryView). It expects: - A new entry was created or an existing will be modified. - The head of the entry to
gui/src/vault/container/modify_entry.rs:149
↓ 28 callers
Function
new
()
gui/src/pw_modal/password_generator/mod.rs:462
↓ 25 callers
Function
new
()
gui/src/vault/creator.rs:932
↓ 24 callers
Function
new
()
gui/src/vault/loader.rs:620
↓ 24 callers
Function
new
()
gui/src/pw_modal/password_generator/password_tab.rs:261
↓ 24 callers
Method
title
(&self)
gui/src/lib.rs:357
↓ 22 callers
Method
active
(&self)
gui/src/theme.rs:150
↓ 20 callers
Function
default_vault
(mem_key: &MemKey)
gui/src/vault/container/mod.rs:664
↓ 19 callers
Method
text_input
(&self)
gui/src/theme.rs:147
↓ 19 callers
Function
with
()
gui/src/vault/container/modify_entry.rs:987
↓ 19 callers
Method
zeroize
(&mut self)
core/src/mem_protection.rs:29
↓ 18 callers
Function
create_new_vault_dir
Create the directory structure of a new [Vault](Vault) on the given path.
core/src/io/vault.rs:9
↓ 18 callers
Method
title
(&self)
gui/src/vault/container/mod.rs:531
↓ 17 callers
Function
default_mev
()
gui/src/vault/container/modify_entry.rs:967
↓ 17 callers
Function
default_vertical_space
()
gui/src/utils.rs:232
↓ 16 callers
Method
as_unprotected
Decrypt the in-memory encrypted master key to receive the unprotected key data. It expects: - The [`MemKey`](MemKey) used for the in-memory encryptio
core/src/model/master_key.rs:61
↓ 16 callers
Function
default_text_input
( state: &'a mut text_input::State, placeholder: &str, value: &str, on_change: F, )
gui/src/utils.rs:199
↓ 15 callers
Method
insert_group
Insert a new [`Group`](Group) into this [`Vault`](Vault).
core/src/model/vault.rs:307
↓ 15 callers
Method
resize
Resize the number of sub-groups and entries to the current configuration.
gui/src/vault/container/list.rs:126
↓ 14 callers
Function
aes_cbc_decrypt
( encrypted_data: &[u8], key: &[u8], iv: &[u8], )
core/src/cryptography.rs:274
↓ 14 callers
Function
new
()
gui/src/vault/unlock.rs:329
↓ 14 callers
Method
update
( &mut self, message: Self::Message, clipboard: &mut iced::Clipboard, )
gui/src/lib.rs:362
↓ 12 callers
Function
default_mem_key
()
core/src/model/vault.rs:520
↓ 12 callers
Method
update
Update the [`PasswordGeneratorState`](PasswordGeneratorState) with the given message.
gui/src/pw_modal/password_generator/mod.rs:252
↓ 11 callers
Method
base64_hash
(&self)
core/src/model/uuid.rs:30
↓ 11 callers
Function
default_vault
(path: &Path, mem_key: &MemKey)
core/src/model/vault.rs:527
↓ 11 callers
Method
get_groups_of
(&self, parent_uuid: &Uuid)
core/src/model/vault.rs:393
↓ 11 callers
Method
insert_entry
Insert a new entry into this [`Vault`](Vault). It expects: - The [`EntryHead`] of the new entry - The [`EntryBody`] of the new entry - The master key
core/src/model/vault.rs:352
↓ 11 callers
Method
some_if
Returns `Some(self)` if the `condition` is true, `None` if not.
gui/src/utils.rs:253
↓ 10 callers
Function
aes_cbc_encrypt
(data: &[u8], key: &[u8], iv: &[u8])
core/src/cryptography.rs:262
↓ 10 callers
Method
append
Append characters to the pool.
core/src/passwords.rs:38
↓ 10 callers
Function
hash_password
(password: &str, salt: &[u8])
core/src/cryptography.rs:91
↓ 9 callers
Function
default_mgv
()
gui/src/vault/container/modify_group.rs:573
↓ 9 callers
Function
derive_key_protection
(mem_key: &MemKey, salt: &[u8])
core/src/cryptography.rs:97
↓ 9 callers
Function
generate_salt
()
core/src/cryptography.rs:76
↓ 9 callers
Method
get_item_list_for
( &'a self, selected_group_uuid: &Uuid, search: Option<&str>, )
core/src/model/vault.rs:438
↓ 8 callers
Function
default_pwduck_gui
()
gui/src/lib.rs:729
↓ 8 callers
Function
fill_random_bytes
(buf: &mut [u8])
core/src/cryptography.rs:84
↓ 8 callers
Function
generate_master_key
( password: &str, key_file: Option<&Path>, )
core/src/cryptography.rs:116
↓ 7 callers
Function
centered_container_with_column
( children: Vec<Element<'a, Message>>, theme: &dyn Theme, )
gui/src/utils.rs:213
↓ 7 callers
Method
close_tab
Close the tab identified by the tab index.
gui/src/lib.rs:262
↓ 7 callers
Function
generate_aes_iv
Generate a new random initialization vector for the AES encryption.
core/src/cryptography.rs:39
↓ 7 callers
Method
is_modified
(&self)
core/src/model/group.rs:169
↓ 7 callers
Method
submit
Submit the creation of the new vault.
gui/src/vault/creator.rs:160
↓ 6 callers
Method
change_to_create_state
Change the content of the tab to the [`VaultCreator`](VaultCreator).
gui/src/vault/tab.rs:45
↓ 6 callers
Method
change_to_unlock_state
Change the content of the tab to the [`VaultUnlocker`](VaultUnlocker).
gui/src/vault/tab.rs:57
↓ 6 callers
Method
check_password_equality
Check if the password equals the password confirmation.
gui/src/vault/creator.rs:120
↓ 6 callers
Method
container
(&self)
gui/src/theme.rs:273
↓ 6 callers
Function
default_vault
(mem_key: &MemKey)
gui/src/vault/container/list.rs:713
↓ 6 callers
Function
derive_key
(data: &[u8], salt: &[u8])
core/src/cryptography.rs:103
↓ 6 callers
Method
edit_group
Edit the currently selected group of the unlocked vault.
gui/src/vault/container/mod.rs:235
↓ 6 callers
Method
get_entries_of
(&self, parent_uuid: &Uuid)
core/src/model/vault.rs:407
↓ 6 callers
Function
password_toggle
( state: &'a mut button::State, show_password: bool, on_press: Message, theme: &dyn Theme, )
gui/src/utils.rs:156
↓ 6 callers
Method
save
Save the vault to disk.
gui/src/vault/container/mod.rs:95
↓ 6 callers
Method
some_if_not
Returns `Some(self)` if the `condition` is not true, `None` if it is.
gui/src/utils.rs:265
↓ 6 callers
Function
unprotect_master_key
( master_key: &[u8], key_protection: &[u8], nonce: &[u8], )
core/src/cryptography.rs:200
↓ 6 callers
Method
update
Update the group tree state.
gui/src/vault/container/list.rs:605
↓ 6 callers
Method
update
Update the state of the [`ModifyGroupView`](ModifyGroupView).
gui/src/vault/container/modify_group.rs:218
↓ 6 callers
Method
update
Update the [`PasswordTabState`](PasswordTabState) with the given message.
gui/src/pw_modal/password_generator/password_tab.rs:103
↓ 6 callers
Method
update_modify_group
Handle the massage that was send by the [`ModifyGroupView`](ModifyGroupView).
gui/src/vault/container/mod.rs:411
↓ 5 callers
Method
change_to_open_state
Change the content of the tab to the [`VaultContainer`](VaultContainer).
gui/src/vault/tab.rs:71
↓ 5 callers
Method
change_to_settings_state
Change the content of the tab to the [`Settings`](Settings).
gui/src/vault/tab.rs:77
↓ 5 callers
Function
estimate_password_strength
()
gui/src/vault/creator.rs:848
↓ 5 callers
Function
fill_strength_bar
( mut strength_bar: Row<'a, Message>, colored: usize, uncolored: usize, style: Style, )
gui/src/password_score.rs:87
↓ 5 callers
Method
focus
(&mut self, direction: iced_focus::Direction)
gui/src/vault/tab.rs:151
↓ 5 callers
Method
generate_and_update_password
Generate a new random password.
gui/src/pw_modal/password_generator/mod.rs:412
↓ 5 callers
Function
generate_chacha20_nonce
Generate a new random nonce (number-used-once) for the `ChaCha20` encryption.
core/src/cryptography.rs:44
↓ 5 callers
Method
is_root
(&self)
core/src/model/group.rs:156
↓ 5 callers
Method
save
Save the vault to disk. It expects: - The [`MemKey`](MemKey) to decrypt the in-memory encrypted master key of the [`Vault`](Vault). # Errors Return
core/src/model/vault.rs:150
↓ 5 callers
Method
select_entry
Select the entry identified by the UUID. It will be loaded, decrypted and finally displayed in the [`ModifyEntryView`](ModifyEntryView).
gui/src/vault/container/mod.rs:267
↓ 5 callers
Method
select_tab
Select the tab identified by the tab index.
gui/src/lib.rs:249
↓ 5 callers
Method
selected
(&self)
gui/src/vault/tab.rs:124
↓ 5 callers
Method
submit
Submit the loading of the vault.
gui/src/vault/loader.rs:96
↓ 4 callers
Method
card_warning
(&self)
gui/src/theme.rs:418
↓ 4 callers
Method
change_to_empty_state
Change the content of the tab to the [`VaultLoader`](VaultLoader).
gui/src/vault/tab.rs:51
↓ 4 callers
Method
create_tab
Create a new tab.
gui/src/lib.rs:255
↓ 4 callers
Function
decrypt_master_key
( master_key: &MasterKey, password: &str, key_file: Option<&Path>, key_protection: &[u8],
core/src/cryptography.rs:157
↓ 4 callers
Method
encrypt
Encrypt this [`EntryHead`](EntryHead) with the given master key.
core/src/model/entry.rs:85
↓ 4 callers
Method
estimate_password_strength
(&self)
gui/src/pw_modal/password_generator/mod.rs:176
↓ 4 callers
Function
generate_key_file
Generate a new key file as a 2nd factor authentification. It will be stored on the given path.
core/src/cryptography.rs:209
↓ 4 callers
Function
icon_text
(icon: Icon)
gui/src/utils.rs:144
↓ 4 callers
Method
refresh
Refresh the cached group information from the given vault.
gui/src/vault/container/list.rs:548
↓ 4 callers
Method
reroll_password
Reroll the password.
gui/src/pw_modal/password_generator/mod.rs:203
↓ 4 callers
Function
save_entry_body
Save the [`EntryBody`](EntryBody) to disk. It expects: - The [`Path`](Path) as the location of the [`Vault`](Vault) - The UUID as the identifier of t
core/src/io/entry.rs:64
↓ 4 callers
Function
save_entry_head
Save the [`EntryHead`](EntryHead) to disk. It expects: - The [`Path`](Path) as the location of the [Vault](Vault) - The UUID as the identifier of the
core/src/io/entry.rs:17
↓ 4 callers
Function
save_group
Save the [`Group`](Group) to disk. It expects: - The [`Path`](Path) as the location of the [`Vault`](Vault) - The UUID as the identifier of the [`Gro
core/src/io/group.rs:14
↓ 4 callers
Method
select
Select a tab with the given index.
gui/src/vault/tab.rs:129
↓ 4 callers
Method
set_title
Set the title of this group.
core/src/model/group.rs:161
↓ 4 callers
Method
submit
Submit the modification of the group.
gui/src/vault/container/modify_group.rs:119
↓ 4 callers
Function
tint
Calculates the tint of the given color based on the specified tint-factor. Thanks to: <https://maketintsandshades.com/about>
gui/src/theme.rs:62
next →
1–100 of 645, ranked by callers