Blowfish explained in plain terms means understanding the cipher that changed how cryptography was shared: a fast, free, unpatented block cipher published in 1993, designed by Bruce Schneier, and given away to anyone who wanted it. The central question is why a cipher from the early nineties still gets talked about, and the answer is that it was the first serious cipher most developers could use without a licence, and it taught a generation how modern ciphers work.
Blowfish is old now, and its 64-bit blocks are too small for new systems, which is a real limitation that nobody should ignore. But it has never been broken in a practical sense, it is still running in legacy systems around the world, and its design ideas live on in Twofish, its successor, and in the password-hashing scheme that borrowed its name.
This article explains what Blowfish is, how it works, and the honest limits that come with its age.
Key takeaways
- Blowfish is a 64-bit block cipher published free and unpatented in 1993.
- It uses key-dependent substitution boxes and a slow, expensive key schedule.
- It has never been practically broken in over thirty years.
- Its 64-bit blocks are too small for new systems; birthday attacks apply.
- Its name lives on in bcrypt, the password-hashing scheme built from it.
What Blowfish is
Blowfish is a symmetric block cipher that encrypts data in 64-bit blocks, using a variable-length key from 32 to 448 bits, and running a sixteen-round Feistel network. It was designed as a fast, compact replacement for DES, the ageing standard of the day, and it was published with its source code freely available, which was unusual and deliberately provocative at the time.
Its signature feature is key-dependent substitution boxes. Like its successor Twofish, Blowfish builds its lookup tables from the key itself, so the tables are different for every key, and the setup process, which expands the key into eighteen subkeys and four tables, is slow and expensive by design. That cost is a feature: it makes brute-force key guessing slower.
The design was a reaction to the ciphers of its era. DES had a short 56-bit key and a fixed structure that the US government had influenced, and Schneier wanted a cipher that was open, unencumbered, and designed in public, with no hidden parameters and no licensing. Blowfish was the answer, and its openness became a model for the ciphers that followed.
It became the default cipher of a generation of tools. Password managers, file encryption utilities, and early VPN software shipped Blowfish as their cipher, and for a decade it was the most widely used free cipher in the world. Its popularity is why its name is still familiar to anyone who worked in security in the nineties or two thousands.
Its age shows in one number: the block size. A 64-bit block means that after about four billion blocks, around 32 gigabytes of data under one key, collisions become likely, and an attacker can start to learn things. That birthday bound is the reason Blowfish should not be used for new systems, and the reason its successor doubled the block size.
Our guide to AES encryption explains the cipher that replaced Blowfish as the standard, and our guide to hashing explains the one-way functions that password schemes built on Blowfish rely on.
How Blowfish works
Everything starts with the key schedule, which is famously slow. The key is expanded into eighteen 32-bit subkeys and four substitution boxes of 256 entries each, a process that involves encrypting a fixed string hundreds of times, and takes the equivalent of encrypting about four kilobytes of data. That cost is paid once per key, and it makes trying many keys expensive for an attacker.
Encryption runs sixteen rounds of a Feistel network. Each round splits the block in half, passes one half through a function built from the substitution boxes, and combines the result with the other half, swapping the halves as it goes. After sixteen rounds, the two halves are whitened with the final subkeys, and the block is complete.
The function at the heart of each round is simple and fast. It splits its 32-bit input into four bytes, looks each one up in a different substitution box, and combines the four results with addition and exclusive-or, which is cheap on any processor and was one of the reasons Blowfish was fast for its time.
Decryption is the same network run backwards. The Feistel structure means the same code, with the subkeys in reverse order, decrypts what encryption produced, and the key schedule is the only part that changes direction. That symmetry is why Feistel ciphers are popular: one implementation serves both jobs.
The security argument rests on the key-dependent boxes and the slow setup. Because the boxes are built from the key, an attacker cannot study them in advance, and because the setup is expensive, trying billions of keys is slow. The design trades setup time for resistance to brute force, a trade that made sense in 1993 and still makes sense today.

Comparing Blowfish with other block ciphers
Blowfish is one of several block ciphers a designer can choose, and each was built with a different emphasis. AES is the modern standard, fast and hardware-accelerated, Twofish is Blowfish’s successor with a 128-bit block, and DES is the ageing cipher Blowfish was built to replace, and each approach trades age for assurance in a different way.
The table below sets out the main contrasts between the leading approaches.
| Aspect | Blowfish | AES | Twofish |
|---|---|---|---|
| Block size | 64 bits | 128 bits | 128 bits |
| Key length | 32 to 448 bits | 128 to 256 bits | 128 to 256 bits |
| Key schedule cost | Slow, expensive | Fast | Slow, expensive |
| Hardware support | None | Built into CPUs | None |
| Best for | Legacy systems | Everything new | Niche and legacy use |
The practical result is that Blowfish is the right choice only for legacy systems that already use it, AES suits everything new, and Twofish fits the niche cases where a second cipher is wanted.
Where Blowfish is used
Legacy systems are its main home. Software written in the nineties and two thousands that chose Blowfish still runs it today, from old VPN appliances to file encryption tools, and the cipher’s stability means those systems have never needed to change, which is a quiet endorsement of the design.
Password hashing is where its name lives on. Bcrypt, the widely used password-hashing scheme, is built on Blowfish’s key schedule, using its expensive setup as a deliberate cost that slows down password guessing. Every time a system checks a bcrypt password, it is running Blowfish’s machinery, even though no Blowfish encryption is involved.
Embedded devices keep it running. Small systems with limited code space and no need for large data volumes still ship Blowfish, because it is compact, well understood, and free, and the 64-bit block limit is irrelevant when the device encrypts only small amounts of data.
Open-source projects use it where licensing clarity matters. Because Blowfish is unpatented and its reference code is public domain, projects that must be certain about intellectual property choose it, and the freedom from licensing is worth more than the speed a newer cipher would offer.
Teaching is its quietest use. Blowfish is the standard example in courses of a Feistel cipher with key-dependent tables and an expensive key schedule, and students who implement it learn the design ideas that Twofish and modern ciphers inherited from it.
Strengths and limits
The greatest strength of Blowfish is its record. Thirty years of cryptanalysis have produced no practical break, and the best known attacks require more data than any real system would ever encrypt under one key. That is a remarkable record for a cipher of its age.
It is also a strength that it is free. No patents, no licences, no royalties, and public-domain reference code mean that Blowfish can be used anywhere, by anyone, for any purpose, which is a freedom that mattered enormously in 1993 and still matters in open-source projects today.
The limits are real, though, and the block size is the decisive one. A 64-bit block is too small for modern data volumes, and the birthday bound means Blowfish should never be chosen for a new system that encrypts more than a few gigabytes under one key. It is a cipher to maintain, not to adopt.
Blowfish checklist
- Do not choose Blowfish for new systems; use AES instead.
- Keep it running in legacy systems where it already works.
- Re-key before encrypting 32 gigabytes under one key.
- Pair it with an authenticated mode; Blowfish alone gives no tamper evidence.
- Use bcrypt, not raw Blowfish, for password storage.
- Remember the 64-bit block limit in every design review.
- Keep the implementation reviewed; use a well-known library.
- Plan migration to AES for systems that outgrow it.
- Revisit the choice yearly; the field moves on even when ciphers do not.
Frequently asked questions
What is Blowfish in simple terms?
It is a free, unpatented block cipher published in 1993, built on a sixteen-round Feistel network with key-dependent substitution boxes and a deliberately slow key schedule.
Why is Blowfish still talked about?
Because it was the first serious free cipher, it has never been practically broken, and its design ideas live on in Twofish and in bcrypt, the password-hashing scheme built from it.
What is the 64-bit block problem?
After about four billion blocks, collisions become likely, and an attacker can start learning things. That birthday bound is why Blowfish should not be used for new systems encrypting large volumes.
What is the connection to bcrypt?
Bcrypt is a password-hashing scheme built on Blowfish’s key schedule, using its expensive setup to slow down password guessing. It uses Blowfish’s machinery, not its encryption.
Is Blowfish secure?
For its intended use, yes, with the block-size caveat. No practical break exists, but the 64-bit blocks limit how much data one key should ever encrypt.
When should I use Blowfish?
Only in legacy systems that already use it, or in small embedded systems encrypting tiny amounts of data. New projects should choose AES.
The bottom line
Blowfish explained in one line is this: the free cipher from 1993 that taught a generation how modern cryptography should be shared, and still holds its own three decades later.
It is the old lock that never broke, and the reason it is still running is that its designer gave it away, built it conservatively, and got the fundamentals right.
This article is general information about how Blowfish works, not advice about choosing encryption for a particular system.







