<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Toolbox on Melomac</title>
    <link>https://melomac.com/categories/toolbox/</link>
    <description>Recent content in Toolbox on Melomac</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>Melomac &amp;copy; 2026</copyright>
    <lastBuildDate>Mon, 13 Apr 2026 23:43:24 +0200</lastBuildDate>
    <atom:link href="https://melomac.com/categories/toolbox/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Run Swift on Debian Trixie</title>
      <link>https://melomac.com/posts/run-swift-on-debian-trixie/</link>
      <pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://melomac.com/posts/run-swift-on-debian-trixie/</guid>
      <description>&lt;p&gt;Installing &lt;a href=&#34;https://www.swift.org/&#34; title=&#34;Swift official website&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Swift&lt;/a&gt; on &lt;a href=&#34;https://www.debian.org/&#34; title=&#34;Debian official website&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Debian&lt;/a&gt; is a no-brainer. Users can either pick up &lt;a href=&#34;https://www.swift.org/install/linux/&#34; title=&#34;The Swiftly installer manages Swift and its dependencies.&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;swiftly&lt;/a&gt; or unpack the &lt;a href=&#34;https://www.swift.org/install/linux/debian/&#34; title=&#34;Alternate Install Options&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;current&lt;/a&gt; tarball, and if you are running a supported Debian version—e.g. Debian 12 &lt;a href=&#34;https://wiki.debian.org/DebianBookworm&#34; title=&#34;Debian Releases: Debian Bookworm&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Bookworm&lt;/a&gt; at the time of this writing—then you are good to go.&lt;/p&gt;&#xA;&lt;p&gt;This article is about running the latest Swift version on the current stable Debian version: &lt;a href=&#34;https://wiki.debian.org/DebianTrixie&#34; title=&#34;Debian Releases: Debian Trixie&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Trixie&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Introducing fashion command-line tool</title>
      <link>https://melomac.com/posts/introducing-fashion-command-line-tool/</link>
      <pubDate>Sat, 21 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://melomac.com/posts/introducing-fashion-command-line-tool/</guid>
      <description>&lt;p&gt;&lt;code&gt;fashion&lt;/code&gt; is a Swift command-line interface to traverse a file hierarchy and compute or match popular hash digests. The project is hosted on &lt;a href=&#34;https://github.com/melomac/fashion&#34; title=&#34;GitHub: melomac/fashion&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;GitHub&lt;/a&gt; and natively supports:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://developer.apple.com/documentation/cryptokit/&#34; title=&#34;Perform cryptographic operations securely and efficiently.&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CryptoKit&lt;/a&gt; hash functions: &lt;a href=&#34;https://en.wikipedia.org/wiki/SHA-2&#34; title=&#34;Wikipedia: SHA-2&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;SHA-2&lt;/a&gt; (SHA256 by default), insecure &lt;a href=&#34;https://en.wikipedia.org/wiki/SHA-1&#34; title=&#34;Wikipedia: SHA-1&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;SHA-1&lt;/a&gt; and &lt;a href=&#34;https://en.wikipedia.org/wiki/MD5&#34; title=&#34;Wikipedia: MD5&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;MD5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;fuzzy hash functions: &lt;a href=&#34;https://github.com/ssdeep-project/ssdeep&#34; title=&#34;GitHub: ssdeep-project/ssdeep&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;ssdeep&lt;/a&gt; and &lt;a href=&#34;https://github.com/trendmicro/tlsh&#34; title=&#34;GitHub: trendmicro/tlsh&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;TLSH&lt;/a&gt; as submodules with Swift C bridging&lt;/li&gt;&#xA;&lt;li&gt;searching for multiple digests with any algo and a similarity / distance score for fuzzy hash&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://git-scm.com/docs/git-hash-object&#34; title=&#34;Git: hash-object&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;git-hash-object&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.anomali.com/blog/symhash&#34; title=&#34;SymHash: An ImpHash for Mach-O&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;symhash&lt;/a&gt; with any algo, separator and optional sort (Mach-O binaries)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/apple-oss-distributions/xar/&#34; title=&#34;GitHub: apple-oss-distributions/xar&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;XAR&lt;/a&gt; archives (macOS packages) table of contents checksum with any algo and optional decompress (zlib)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://developer.apple.com/documentation/technotes/tn3126-inside-code-signing-hashes&#34; title=&#34;TN3126: Inside Code Signing: Hashes&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CDHash&lt;/a&gt; (signed Mach-O binaries)&lt;/li&gt;&#xA;&lt;li&gt;multithreading&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;With optimizations, &lt;code&gt;fashion&lt;/code&gt; is very fast yet has a minimal real memory footprint &amp;lt; 150MB:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
