<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">
    <div class="form-check">
        <input
            type="radio"
            class="form-check-input"
            id="t3-install-tool-configuration-passwordHashing-argon2i"
            name="install[values][{feature.name}][enable]"
            value="{preset.name}"
            {f:if(condition: '{preset.isAvailable} && {isWritable}', then:'', else:'disabled="disabled"')}
            {f:if(condition: preset.isActive, then:'checked="checked"')}
        />
        <label for="t3-install-tool-configuration-passwordHashing-argon2i" class="form-check-label">
            <strong>Argon2i</strong> {f:if(condition: preset.isActive, then:' [Active]')}
        </label>
    </div>
    <p>
        <f:if condition="{preset.isAvailable}">
            <f:then>
                Select this one if in doubt: Argon2i is a modern key derivation function that was selected as
                the winner of the Password Hashing Competition in July 2015.
            </f:then>
            <f:else>
                Argon2i is not available on this system. This is sad since it is a modern password hash
                algorithm and the winner of the Password Hashing Competition in July 2015. It is easily
                available on all platforms since PHP version 7.2. There is no sane reason to run PHP >7.2
                without argon2i. Please reach out to your hoster to fix this and select this hash algorithm
                as soon as it is available.
            </f:else>
        </f:if>
    </p>
</f:be.infobox>

</html>
