Skip to main content

parse_kdf_and_salt

Function parse_kdf_and_salt 

Source
fn parse_kdf_and_salt(
    user_decryption: &Option<Box<UserDecryptionResponseModel>>,
) -> Result<Option<(Kdf, String)>, SyncError>
Expand description

Parses the user’s KDF and salt from the sync response. If the user is not a master-password user, returns Ok(None)