Return true if the specified lhs and rhs SHA digests have the same value.

Synopsis

Declared in <bdlde_sha2.h>

bool
operator==(
    Sha384 const& lhs,
    Sha384 const& rhs);

Description

Return true if the specified lhs and rhs SHA digests have the same value, and false otherwise. Two digests have the same value if, after applying any number of equivalent updates to both (possibly including no updates), the values obtained from their respective loadDigest methods are identical.

Return Value

true if lhs and rhs have the same value, and false otherwise

Parameters

Name

Description

lhs

left‐hand‐side SHA digest

rhs

right‐hand‐side SHA digest

Created with MrDocs