<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-pbkdf2"
            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-pbkdf2" class="form-check-label">
            <strong>PBKDF2</strong> {f:if(condition: preset.isActive, then:' [Active]')}
        </label>
    </div>
    <p>
        <f:if condition="{preset.isAvailable}">
            <f:then>
                PBKDF2 is a key derivation function recommended by IETF in RFC 8018 as part of the PKCS series, even
                though newer password hashing functions such as Argon2id or Argon2i are designed to address weaknesses of PBKDF2.
                It could be a preferred password hash algorithm if storing passwords in a FIPS compliant way is necessary.
                Usually, selecting Argon2id or Argon2i if available as hash algorithm is ideal.
            </f:then>
            <f:else>
                PBKDF2 is not available on this system. This is very uncommon. If Argon2id, Argon2i and bcrypt are also not available,
                you should reach out to your hoster to fix this as soon as possible.
            </f:else>
        </f:if>
    </p>
</f:be.infobox>

</html>
