Comparison of Argon2id and Bcrypt with Default Parameters in Performance and Security Aspect for Secure Authentication

Protecting important data, such as password, is just as important as securing a system. Storing important data in a hash form offers better security. This study compares two hashing algorithms, Argon2, specifically Argon2id, and Bcrypt without any parameter modification, and is done directly in Python programming language. By comparing the two algorithms in terms of speed, avalanche effect metric, collision resistance, and memory cost, the trade-off between security and performance could be made. From a performance perspective, Argon2id is superior to Bcrypt in terms of speed (faster processing time) and storage (consume less storage). But Bcrypt has better performance in terms of memory cost, since it uses less memory (less memory cost). From a security perspective though, Argon2id is better in terms of memory cost (consume more memory) and avalanche effect (higher average avalanche metric). On the other hand, Bcrypt wins in terms of security, in output length (since it has longer output) and speed (slower processing time) aspects. In short, Argon2id is better in terms of performance, while both offers good security. This research also provides insight for the developers about the importance of knowing the algorithm that they are using to secure the data, to tune the parameters of the hashing algorithm if possible.

Authors

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.08.293
Primary Topic
Cryptographic Implementations and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparison of Argon2id and Bcrypt with Default Parameters in Performance and Security Aspect for Secure Authentication

Sidharta Sidharta, Jeffrey Ferdinand Hartono, Immanuel Christian Suharjo
Procedia Computer Science
Cryptographic Implementations and Security
article

Comparison of Argon2id and Bcrypt with Default Parameters in Performance and Security Aspect for Secure Authentication

Sidharta Sidharta, Jeffrey Ferdinand Hartono, Immanuel Christian Suharjo
article en

Abstract

Protecting important data, such as password, is just as important as securing a system. Storing important data in a hash form offers better security. This study compares two hashing algorithms, Argon2, specifically Argon2id, and Bcrypt without any parameter modification, and is done directly in Python programming language. By comparing the two algorithms in terms of speed, avalanche effect metric, collision resistance, and memory cost, the trade-off between security and performance could be made. From a performance perspective, Argon2id is superior to Bcrypt in terms of speed (faster processing time) and storage (consume less storage). But Bcrypt has better performance in terms of memory cost, since it uses less memory (less memory cost). From a security perspective though, Argon2id is better in terms of memory cost (consume more memory) and avalanche effect (higher average avalanche metric). On the other hand, Bcrypt wins in terms of security, in output length (since it has longer output) and speed (slower processing time) aspects. In short, Argon2id is better in terms of performance, while both offers good security. This research also provides insight for the developers about the importance of knowing the algorithm that they are using to secure the data, to tune the parameters of the hashing algorithm if possible.

Procedia Computer ScienceVol. 269
Openalex Percentile: Top 83%
Cryptographic Implementations and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Comparison of Argon2id and Bcrypt with Default Parameters in Performance and Security Aspect for Secure Authentication — Sidharta Sidharta, Jeffrey Ferdinand Hartono, et al. · Procedia Computer Science (2025) | TGRS Research Map | TGRS