<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-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="t3-install-tool-configuration-radio-label">
        <strong>Argon2i</strong> {f:if(condition: preset.isActive, then:' [Active]')}
    </label>
    <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>
