keepassphp/keepassphp.php
public static function addPassword(CompositeKey $mkey, $pwd)
	{
		$mkey->addKey(self::keyFromPassword($pwd));
		return true;
	}
public static function addPassword(CompositeKey $mkey, $pwd)
	{
		$mkey->addKey(self::keyFromPassword($pwd));
		return true;
	}
public static function addPassword ( CompositeKey $ mkey , $ pwd ) { $ mkey -> addKey ( self :: keyFromPassword ( $ pwd ) ) ; return true ; }
Adds a password to a master key.
@param $mkey A master key.
@param $pwd A text password.
@return true if the operation succeeded, false otherwise.
Adds a password to a master key .