Showing Posts From
Hashing
-
houseme - 04 Nov, 2025
Rust SHA-2 专业技巧:抛弃 `write`/`flush`,拥抱 `update` – 更快、更简洁的哈希方式
使用 sha2 crate 进行哈希计算是 Rust 中加密、校验和以及唯一 ID 生成的核心操作。但如果你还在像旧代码库那样使用 .write() 和 .flush(),那就是在添加不必 ...
-
houseme - 04 Nov, 2025
Rust SHA-2 Pro Tips- Ditch `write`/`flush` for `update` – The Faster, Cleaner Way to Hash
Hashing with the sha2 crate is a staple in Rust for cryptography, checksums, and unique IDs. But i ...
Hashbrown 进阶:从高效哈希到系统级优化的 Rust“黑客”指南——解锁 SwissTable 的隐藏潜力
引言:为什么进阶 Hashbrown?从“甜点”到“主菜”的性能革命 在上篇[入门](https://rs.bifuba.com/hashbrown-the-swiss-army-knife- ...