The Role of Hashing Libraries in Flask Application Security: A Focus on Password Protection
Journal: International Journal of Advances in Computer Science and Technology (IJACST) (Vol.14, No. 7)Publication Date: 2025-07-15
Authors : Lord Ian M. Paquiao Zoren E. Bajao;
Page : 30-34
Keywords : Flask Framework; Password Hashing; Web Application Security; Cryptographic Security; Benchmarking;
Abstract
Flask-based web apps still require password protection, particularly as threat landscapes change. Werkzeug.security, Flask-Bcrypt, Flask-Argon2, and Passlib are popular Flask-compatible password hashing libraries. They were compared in terms of cryptographic strength, default security settings, hashing latency, system resource consumption, and ease of integration using experimental benchmarking. Tests were conducted in a controlled Flask environment using standardized profiling tools and simulated user interactions. Flask-Bcrypt outperformed the other libraries by balancing developer-friendly integration, reasonable latency, and robust security defaults. Although Flask-Argon2 had strong cryptographic protection, it used a lot of CPU and memory. Although Werkzeug.security was effortless and performed well, it must be manually configured to satisfy security requirements. Although Passlib had the most integration complexity, it was notable for its configurability. The results emphasize the significance of selecting hashing tools based on implementation feasibility and algorithm strength. When choosing password hashing options for Flask apps, developers are urged to consider usability, security, and performance
Other Latest Articles
- What Influences Banks’ Lending? Evidence from Nepal
- Determinants of Financial Stability in Banks: The Impact of Key Regulatory Financial Indicators
- Investments in ICT in the Telecommunications Sector: A Strategic Imperative for Organizational Changes in Response to Market Transformations
- Transformation of Stock Market Threats into Investment Opportunities: Modelling the Dependence of the Indian and Vietnamese Stock Markets on the US–China Trade War
- Determinants of Government Expenditures in the Baltic States
Last modified: 2025-07-15 23:27:35