<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<f:be.infobox state="{f:if(condition:'{preset.isAvailable}', then:'0', else:'2')}" disableIcon="true">
    <input
        type="radio"
        class="t3-install-tool-configuration-radio"
        id="t3-install-tool-configuration-passwordHashing-argon2id"
        name="install[values][{feature.name}][enable]"
        value="{preset.name}"
        {f:if(condition:'{preset.isAvailable}', then:'', else:'disabled="disabled"')}
        {f:if(condition: preset.isActive, then:'checked="checked"')}
    />
    <label for="t3-install-tool-configuration-passwordHashing-argon2id" class="t3-install-tool-configuration-radio-label">
        <strong>Argon2id</strong> {f:if(condition: preset.isActive, then:' [Active]')}
    </label>
    <p>
        <f:if condition="{preset.isAvailable}">
            <f:then>
                <strong>Use Argon2id if you are using PHP >= 7.3 on all instances (local, test, production, ...)!</strong><br />
                Argon2id is a modern key derivation function. It provides better resistance
                to some forms of attack compared to Argon2i.
            </f:then>
            <f:else>
                Argon2id is not available on this system. If you want to use Argon2id make sure you are using PHP >= 7.3
                with Argon support.
            </f:else>
        </f:if>
    </p>
</f:be.infobox>

</html>
