. */ namespace SP\Domain\Account\Ports; use SP\Domain\Account\Dtos\EncryptedPassword; use SP\Domain\Common\Services\ServiceException; /** * Class AccountCryptService */ interface AccountCryptService { /** * Devolver los datos de la clave encriptados * * @throws ServiceException */ public function getPasswordEncrypted(string $pass, ?string $masterPass = null): EncryptedPassword; }