6. changeMasterFilePassword(newPassword: string)

Description: Updates the password for the connected master file, re-encrypting it with a new key derived from the provided password.

Parameters:

  • newPassword: string - New password for the master file.

Example:

await ulda.changeMasterFilePassword('newPass456');

await ulda.connect('userVault', 'newPass456');

console.log('Password changed');

// Output: Password changed