#hash2
Boost.Hash2 has been accepted! Extensible hashing framework supporting user-defined types, plus many prepackaged algorithms. Thanks to Review Manager Matt Borland.

Repo: github.com/pdimov/hash2
Docs: pdimov.github.io/hash2/doc/ht...

#boostcpp #cpp #cplusplus #boostlibs
December 30, 2024 at 8:42 PM
Crack Boost 1.88 open and see what's inside for you! Two new libraries and updates to 19 more.
Download: www.boost.org/users/histor...
Hash2, an extensible hashing framework: boost.org/libs/hash2
MQTT5 client library built on top of Boost.Asio: boost.org/libs/mqtt5
April 10, 2025 at 9:30 PM
You should also be able to run `spack diff /hash1 /hash2` to see
October 2, 2025 at 5:40 AM
At #CppCon, we've been showing off some of our latest and greatest! Here's a rundown:

Math - boost.org/libs/math
Redis - boost.org/libs/redis
Bloom - boost.org/libs/bloom
Hash2 - boost.org/libs/hash2
Parser - boost.org/libs/parser
MQTT5 - boost.org/libs/mqtt5
Unordered - boost.org/libs/unordered
September 19, 2025 at 3:50 PM
“To every family struggling to buy eggs: We hear you, we’re fighting for you, and help is on the way,” U.S. Secretary of Agriculture Brooke Rollins wrote...

www.drugs.com/news/usda-reveals-plan-lower-egg-prices-amid-bird-flu-123896.html?hash2=1010fde0237f0e61cb035fa10eff1e46
USDA Reveals Plan to Lower Egg Prices Amid Bird Flu - Drugs.com MedNews
With egg prices soaring due to a severe bird flu outbreak, the U.S. Department of Agriculture (USDA) announced a 1 billion plan to contain the disease and help
www.drugs.com
February 28, 2025 at 5:47 AM
well we can do the same thing but one dimension up

assign random values with hash2 to every integer point, and then interpolate between those 4 values

noise2(p) = interp2(lo1, lo2, lo3, lo4, fracx, fracy)
April 17, 2026 at 8:21 PM
「Pontaもうすぐ4000万人記念!Pontaポイントプレゼントキャンペーン」なるものが偶然目に入ったのでtweet #Ponta持ってるよ via @akiko_lawson <a href="http://lwp.jp/hash2/campaign/static/hash2/" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link" target="_blank" rel="noopener" data-link="bsky">http://lwp.jp/hash2/campaign/static/hash2/
LAWSON|ローソン公式サイト
コンビニエンスストア「ローソン」の公式ウェブサイト。店舗/ATM検索、新商品紹介、各種店舗でのサービスや活用方法などのご紹介。株式会社ローソンの企業情報掲載。ローソン「三鷹の森ジブリ美術館」情報。
lwp.jp
January 31, 2012 at 12:42 PM
What If the Power Goes Out? - TEST
https://get.mypost.to/gLpUyA
sdfg gsdg g gdgffs gsdg g ssfsdg g gsfgsfgsdfg sg gsdg g sgsdgs g gsgsg sg sgsgs
#hash1 #hash2 #hash3 #finaltest
What If The Power Goes Out? - TEST
As mentioned in the guide, preparation isn't about fear—it's about freedom and peace of mind. The resources collected here complement your reading with practical tools
econopass.com
September 28, 2025 at 9:27 AM
Is it just me, or are the people who type like:

"According to #(hashtag) we're #(hashtag1) and #(hash2) #(tag2)."

Super fucking hard to understand???
December 5, 2024 at 11:45 PM
💉saves lives 👍https://www.drugs.com/news/hospital-admissions-children-flu-climbing-across-united-states-123967.html?hash2=4a8a06fd330cd9d9d56ab51231ca1b4c
Hospital Admissions for Children With Flu Climbing Across the United States - Drugs.com MedNews
seasons vary in severity from year to year, and this is a particularly severe season, Sean T. O Leary, M.D., M.P.H., chair of the AAP Committee on Infectious Di
www.drugs.com
March 5, 2025 at 5:22 AM
E、2を2回かけるひどいミスをしていたから合わなかったという前提がありつつ、ここを直しても通らないんですけど...

```
int N = A.size() * 2;
...(省略)...
vector<atcoder::modint998244353> PB(2*N+2), hash1(2*N+2), hash2(2*N+2);
```
November 1, 2025 at 2:12 PM
Post with multi hasthags

##hash1 ##hash2 ##hash3
April 22, 2025 at 8:11 AM
Peter Dimov, author of Boost.Hash2, says hello from the WG21 meeting at Sofia, Bulgaria.

boost.org/libs/hash2
open-std.org/jtc1/sc22/wg...
June 16, 2025 at 4:33 PM
Hashing and Matching
## Boost.Hash2 I’m happy to report that the library I helped Peter Dimov develop, Hash2, was accepted after probably one of the most thorough Boost reviews to have happened in recent history. I can’t claim to have contributed all too much to the design. After all, Hash2 was an implementation of Types Don’t Know #. But I did come along and help implement myriad algorithms and help with the absolutely massive testing burden. Interestingly, I think people who don’t sit and write/maintain Boost libraries all day underestimate just how much testing even something like 10 extra lines of source can require. When you write software with a certain minimum bar of quality, almost all your effort and time go into testing it than anything else. This is because if a Boost library gets it wrong, there’s really no good way to unwind that. Bad versions of `libboost-dev` will have already gone out and then packagers need to re-package and the whole thing is a huge debacle for users and packagers. Working on Hash2 is fun and engaging and more importantly, it finally gives C++ developers something reputable and makes hashing as easy as it should be. The only problem with Hash2 that I can think of as a user of Boost would be that it took until 2024 (and now basically 2025) for Boost to have simple and effective hashing routines. For example, std::string get_digest(std::vector<char> const& buf) { boost::hash2::sha2_256 h; h.update(buf.data(), buf.size()); return to_string(h.result()); } Very simple, very nice and clean and does what it says on the box. The version of the library that was accepted is also far from the final version as well. The library will continue to evolve and quality of implementation will be iterated on and the interfaces will naturally be refined. It’s good for reviewers and authors of Boost libraries to keep in mind that libraries aren’t some static thing that are carved out of stone. The accepted version of a Boost library is very seldom similar to the version 4 releases down the line. Boost.Asio is probably the most emblematic of this, having undergone dramatic refactors over the years. One thing I’m particularly looking forward to is experimenting with sha-256 intrinsics available on certain Intel CPUs but that’ll come later once the base sha2 family has had a nice performance overhaul and maybe a few new algorithms are also added to the collection. ## Boost.Regex I’ve also started working with Boost.Regex author John Maddock to squash CVEs filed against Boost.Regex found by Google’s oss-fuzz project, which is a wonderful contribution to the world of open-source. While as developers we may use regexes in our day-to-day lives, it’s an entirely different world to actually implement a regex engine. Learning what goes into this has been fascinating and I do have to admit, I’m tremendously humbled by John’s prowess and ability to navigate the complexities of the state machine construction. In a similar vein, I’m equally impressed at just how effective fuzzing is at crafting input. I’ve known about fuzzing for a good bit of time now as most modern software developers do but I’ve never stopped to sit down and truly appreciate just how valuable these tools are. One of the first things I essentially had to do for the repo was get it to a place where clangd could handle the generated compiled_commands.json. clangd is one of the better developer tools to come out but has caveats in that it can’t handle non-self-contained header files and old school Boost libraries like to `#include` various implementation headers at the bottom. Fixing this for clangd normally requires recursive `#include`s or just not using implementation headers. In most cases, it’s easiest to deal with the recursion and solve it by simply just adding `#pragma once`. Because this is Boost, the Config module even has all the macros that help detect when `#pragma once` is available so we can support all the compilers and all the toolchains no matter what. I look forward to continuing to work with John on Regex but in the interim, I’m having fun taking a Hash2 break. – Christian
cppalliance.org
January 21, 2025 at 6:23 PM
Hashing and Matching
## Boost.Hash2 I’m happy to report that the library I helped Peter Dimov develop, Hash2, was accepted after probably one of the most thorough Boost reviews to have happened in recent history. I can’t claim to have contributed all too much to the design. After all, Hash2 was an implementation of Types Don’t Know #. But I did come along and help implement myriad algorithms and help with the absolutely massive testing burden. Interestingly, I think people who don’t sit and write/maintain Boost libraries all day underestimate just how much testing even something like 10 extra lines of source can require. When you write software with a certain minimum bar of quality, almost all your effort and time go into testing it than anything else. This is because if a Boost library gets it wrong, there’s really no good way to unwind that. Bad versions of `libboost-dev` will have already gone out and then packagers need to re-package and the whole thing is a huge debacle for users and packagers. Working on Hash2 is fun and engaging and more importantly, it finally gives C++ developers something reputable and makes hashing as easy as it should be. The only problem with Hash2 that I can think of as a user of Boost would be that it took until 2024 (and now basically 2025) for Boost to have simple and effective hashing routines. For example, std::string get_digest(std::vector<char> const& buf) { boost::hash2::sha2_256 h; h.update(buf.data(), buf.size()); return to_string(h.result()); } Very simple, very nice and clean and does what it says on the box. The version of the library that was accepted is also far from the final version as well. The library will continue to evolve and quality of implementation will be iterated on and the interfaces will naturally be refined. It’s good for reviewers and authors of Boost libraries to keep in mind that libraries aren’t some static thing that are carved out of stone. The accepted version of a Boost library is very seldom similar to the version 4 releases down the line. Boost.Asio is probably the most emblematic of this, having undergone dramatic refactors over the years. One thing I’m particularly looking forward to is experimenting with sha-256 intrinsics available on certain Intel CPUs but that’ll come later once the base sha2 family has had a nice performance overhaul and maybe a few new algorithms are also added to the collection. ## Boost.Regex I’ve also started working with Boost.Regex author John Maddock to squash CVEs filed against Boost.Regex found by Google’s oss-fuzz project, which is a wonderful contribution to the world of open-source. While as developers we may use regexes in our day-to-day lives, it’s an entirely different world to actually implement a regex engine. Learning what goes into this has been fascinating and I do have to admit, I’m tremendously humbled by John’s prowess and ability to navigate the complexities of the state machine construction. In a similar vein, I’m equally impressed at just how effective fuzzing is at crafting input. I’ve known about fuzzing for a good bit of time now as most modern software developers do but I’ve never stopped to sit down and truly appreciate just how valuable these tools are. One of the first things I essentially had to do for the repo was get it to a place where clangd could handle the generated compiled_commands.json. clangd is one of the better developer tools to come out but has caveats in that it can’t handle non-self-contained header files and old school Boost libraries like to `#include` various implementation headers at the bottom. Fixing this for clangd normally requires recursive `#include`s or just not using implementation headers. In most cases, it’s easiest to deal with the recursion and solve it by simply just adding `#pragma once`. Because this is Boost, the Config module even has all the macros that help detect when `#pragma once` is available so we can support all the compilers and all the toolchains no matter what. I look forward to continuing to work with John on Regex but in the interim, I’m having fun taking a Hash2 break. – Christian
cppalliance.org
January 9, 2025 at 6:23 PM
🚨 EUVD-2026-24880
📊 n/a
🏢 Linux

📝 In the Linux kernel, the following vulnerability has been resolved:

udp: Fix wildcard bind conflict check when using hash2

When binding a udp_sock to a local...

🔗 https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-24880

#cybersecurity #infosec #cve #euvd
April 22, 2026 at 4:06 PM
什么是 MR?区块链中的默克尔根详解
# 什么是 MR?区块链中的默克尔根详解 **MR(Merkle Root,默克尔根)** 是区块链技术中用于高效验证数据完整性的核心数据结构。它通过将大量交易数据压缩成单一哈希值,为区块链的不可篡改特性提供了数学保障。 作为区块链的"数据指纹",默克尔根在加密货币交易验证、轻节点同步、智能合约执行等场景中发挥关键作用。理解这一概念是掌握区块链工作原理的重要基础。 ## MR 的详细解释 ### 默克尔树的构建原理 MR 本质上是**默克尔树(Merkle Tree)** 的顶端哈希值,其构建过程遵循分层哈希原则: 1. 将原始数据(如交易记录)分割为多个数据块 2. 对每个数据块进行**哈希运算** 生成叶子节点 3. 相邻两个叶子节点哈希值组合后再次哈希,形成父节点 4. 递归重复组合哈希过程,直至生成唯一的根哈希值 graph TD Root[MR: 根哈希] --> Hash1[层级1哈希] Root --> Hash2[层级1哈希] Hash1 --> Hash3[层级2哈希] Hash1 --> Hash4[层级2哈希] Hash2 --> Hash5[层级2哈希] Hash2 --> Hash6[层级2哈希] ### 核心功能特性 * **高效验证** :只需对比根哈希即可验证海量数据完整性 * **局部验证** :通过**默克尔证明** 可验证单个交易而不需下载全部数据 * **防篡改** :任何数据修改都会导致根哈希值改变 * **空间优化** :将TB级数据压缩为32字节哈希值 ## MR 的起源与背景 1979年由密码学家 Ralph Merkle 提出原型结构,2010年后被比特币等区块链系统大规模应用。中本聪在比特币白皮书中采用该技术,使SPV(简单支付验证)成为可能,奠定了轻钱包的技术基础。 ## MR 的重要性与应用场景 1. **交易验证** (比特币/以太坊) 2. **状态验证** (以太坊世界状态树) 3. **文件存储** (IPFS分布式存储) 4. **跨链通信** (原子交换验证) 5. **零知识证明** (zk-SNARKs数据完整性证明) ## MR 的优势与局限 **优势** : * 验证效率提升1000倍以上(相比全节点验证) * 降低存储需求(移动设备可运行轻节点) * 增强系统安全性(哈希嵌套结构抗碰撞) **局限** : * 量子计算机威胁传统哈希算法 * 构建大型默克尔树需要较高计算资源 * 不支持动态数据的高效更新 ## MR 与相关概念对比 概念 | 功能定位 | 数据结构 | 典型应用 ---|---|---|--- MR | 数据完整性证明 | 树状结构 | 区块链交易验证 普通哈希 | 单一数据指纹 | 线性结构 | 文件校验 布隆过滤器 | 概率性存在证明 | 位数组 | 轻节点交易查询 ## 总结 作为区块链的"数据信任锚",MR 通过巧妙的哈希嵌套结构,在保证安全性的同时极大提升了验证效率。随着 Layer2 扩容方案和跨链技术的发展,默克尔根衍生出了更高效的变体结构(如 Merkle Patricia Tree),持续推动区块链技术的演进。
basebiance.com
May 12, 2025 at 4:53 AM
Zajímavost: ohledně kontraktu equals a hash code doporučuje metodicky dotnet jiný tradeoff než java. V Javě je normální i u mutable tříd zachovávat implikaci equals => hash1==hash2, dotnet má naopak default nechávat hash code podle identity objektu a override jen pokud je vysoká jistota o […]
Original post on witter.cz
witter.cz
September 3, 2025 at 7:34 AM
THEY VOTED FOR IT....https://www.drugs.com/news/parents-feel-they-lacking-bird-flu-124122.html?utm_source=ddc&utm_medium=email&utm_campaign=Daily+Mednews+++March+15++2025&utm_content=Parents+Feel+They+Are+Lacking+Information+About+Bird+Flu&hash2=6a392495b64473aaf5f4831c3f3529f6
March 15, 2025 at 2:54 PM
Here we go again. Testing hashtags!

Old friends of ours:
#1
#360noscope
#hashtag
#123456789
#😃
#abc😀👹
#-123
###abc2
#abc3#abc4#abc5
abc#abc6
abc##abc7
#صباحالخير
‏⏰شاهد ⁧‫#اللال‬⁩ بتوقيتك في مختلف عواصم العالم
😀#hashtag2
/#hash1 ^#hash2 &#hash3 *#hash4 _#hash5
#hash6#
November 21, 2024 at 8:06 AM
blah blah blah https://www.google.c... and then #hash1 @mention1 @mention2 #hash2 www.google.com
bon apetit recipes - Google Search
test
www.google.com
June 27, 2024 at 8:52 PM
Need to know what changed? Use - git diff <commit-hash1<commit-hash2>

It's an easy way to compare changes between two different commit hashes. Powerful for code reviews and understanding how your code has evolved.
May 2, 2025 at 3:52 PM