Felix Palmen :freebsd: :c64:<p>I need some advise: Is there a good portable and free (really free, not GPL!) <a href="https://mastodon.bsd.cafe/tags/implementation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>implementation</span></a> of <a href="https://mastodon.bsd.cafe/tags/bcrypt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bcrypt</span></a> in <a href="https://mastodon.bsd.cafe/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a> around?</p><p>There's <a href="https://mastodon.bsd.cafe/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenBSD</span></a> source I could use, but integrating that would probably be quite a hassle...</p><p>Background: I want to start creating a second credential checker for <a href="https://mastodon.bsd.cafe/tags/swad" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>swad</span></a> using files. And it probably makes sense to support a sane subset of <a href="https://mastodon.bsd.cafe/tags/Apache" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Apache</span></a>'s <a href="https://mastodon.bsd.cafe/tags/htpasswd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>htpasswd</span></a> format here. Looking at the docs:<br><a href="https://httpd.apache.org/docs/current/misc/password_encryptions.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">httpd.apache.org/docs/current/</span><span class="invisible">misc/password_encryptions.html</span></a><br>... the "sane subset" seems to be just bcrypt. *MAYBE* also this apache-specific flavor of "iterated" MD5, although that sounds a bit fishy ...</p>