Both are password hashing functions designed to be slow. bcrypt (1999) uses a modified Blowfish cipher, tunable via a single work factor. Argon2 (2015) uses a more modern design tunable across three dimensions: memory cost, time cost, parallelism. Argon2’s memory-hardness resists GPU-based cracking better than bcrypt. bcrypt is more battle-tested and universally supported. Recommendation for new projects: Argon2id (the hybrid variant). For existing bcrypt deployments: no urgent need to migrate — bcrypt at cost 12 remains secure. Generate either with the hash generator.
All questions