Bcrypt is a password hashing scheme based on the Blowfish block cipher. It was designed to be resistant to brute force attacks and to remain secure despite of hardware improvements [13]. Expensive key setup with user-defined cost setting makes this hash slow while rapid random 32-bit lookups using Blowfish's variable S-boxes require 4 KB of local memory per instance. This memory access pattern makes bcrypt moderately unfriendly to parallel implementation on modern CPUs, where on one hand gather addressing is required in order to exploit the CPUs' SIMD capabilities, and on the other even when gather addressing is in fact available the L1 data cache size becomes the limiting factor. Despite of this (and due to it), it is possible to achieve much better performance per Watt with bcrypt implementations on homogeneous and heterogeneous multiprocessing platforms: Parallella board with 16- or 64-core Epiphany accelerator and ZedBoard with Zynq reconfigurable logic [16, 2]. Proposed implementations were integrated into John the Ripper password cracker resulting in improved energy efficiency by a factor of 35+ compared to heavily optimized implementations on modern CPUs.
[1]
H. Simmler,et al.
Implementation of cryptographic applications on the reconfigurable FPGA coprocessor microEnable
,
2000,
Proceedings 13th Symposium on Integrated Circuits and Systems Design (Cat. No.PR00843).
[2]
P. Suresh Kumar,et al.
FPGA Implementation of Blowfish Cryptosystem Using VHDL
,
2013
.
[3]
David Mazières,et al.
The Advanced Computing Systems Association a Future-adaptable Password Scheme a Future-adaptable Password Scheme
,
2022
.
[4]
David Mazières,et al.
A future-adaptive password scheme
,
1999
.
[5]
M. R. Patel,et al.
FPGA - HARDWARE BASED DES & BLOWFISH SYMMETRIC CIPHER ALGORITHMS FOR ENCRYPTION & DECRYPTION OF SECURED WIRELESS DATA COMMUNICATION
,
2013
.