arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.08284cs.CRcs.DC
收藏

商用硬件上哈希算法的性能评估

Performance Evaluation of Hashing Algorithms on Commodity Hardware

Marut Pandya

AI总结:

本研究在台式机、虚拟机等商用硬件平台上,通过合成基准测试评估Blake3、SHA-256、SHA-512三种哈希算法的吞吐量、延迟与内存占用,发现Blake3整体性能更优但优势受硬件和数据规模影响,给出了选型建议并为相关研发提供参考。

摘要:

哈希函数旨在为输入消息生成简短且不规则的摘要,是区块链网络中使用的主要密码原语。区块链网络利用哈希运算构建链式区块列表,为关键信息提供安全可靠的分布式存储库。由于区块链网络中哈希搜索问题的独特性质,计算过程可实现最大程度的并行化。本技术报告对三种主流哈希算法——Blake3、SHA-256和SHA-512——开展了性能评估,这些算法广泛应用于数字签名、消息认证、密码存储等各类场景。报告随后阐述了用于评估算法的性能指标,包括哈希速率/吞吐量和内存占用。评估在一系列硬件平台上开展,涵盖台式机和虚拟机(VM),包含合成基准测试。评估结果显示,在吞吐量和延迟方面,Blake3的整体表现优于SHA-256和SHA-512;但Blake3的性能优势会随具体硬件平台和输入数据规模的不同而变化。报告最后给出了根据应用的性能要求和安全需求选择最合适哈希算法的建议,评估结果也可为未来提升哈希算法性能与安全性的研发工作提供参考。

英文摘要:

Hashing functions, which are created to provide brief and erratic digests for the message entered, are the primary cryptographic primitives used in blockchain networks. Hashing is employed in blockchain networks to create linked block lists, which offer safe and secure distributed repository storage for critical information. Due to the unique nature of the hash search problem in blockchain networks, the most parallelization of calculations is possible. This technical report presents a performance evaluation of three popular hashing algorithms Blake3, SHA-256, and SHA-512. These hashing algorithms are widely used in various applications, such as digital signatures, message authentication, and password storage. It then discusses the performance metrics used to evaluate the algorithms, such as hash rate/throughput and memory usage. The evaluation is conducted on a range of hardware platforms, including desktop and VMs. The evaluation includes synthetic benchmarks. The results of the evaluation show that Blake3 generally outperforms both SHA-256 and SHA-512 in terms of throughput and latency. However, the performance advantage of Blake3 varies depending on the specific hardware platform and the size of the input data. The report concludes with recommendations for selecting the most suitable hashing algorithm for a given application, based on its performance requirements and security needs. The evaluation results can also inform future research and development efforts to improve the performance and security of hashing algorithms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑