The STL container hash for Sha256 objects.
This implementation avoids using drake::hash_append for performance. The checksum should already be well-mixed, so we can just squash it down into the required size.
#include <drake/common/sha256.h>
Public Member Functions | |
size_t | operator() (const drake::Sha256 &x) const noexcept |
|
noexcept |