mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-23 19:38:31 +02:00
Add key to hash to avoid collisions
This commit is contained in:
parent
befc8da440
commit
35967292f3
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ public:
|
|||
using boost::uuids::detail::md5;
|
||||
md5 hash;
|
||||
md5::digest_type digest;
|
||||
hash.process_bytes(key.data(), key.size());
|
||||
hash.process_bytes(image.data(), image.size());
|
||||
hash.get_digest(digest);
|
||||
std::string filename;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue