[#BloombergLP-bdlde-Sha384] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::Sha384 :relfileprefix: ../../ :mrdocs: This `class` represents a SHA‐384 digest that can be updated as additional data is provided. == Synopsis Declared in `<bdlde_sha2.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Sha384; ---- == Description More generally, this class supports a complete set of _value_ _semantic_ operations, including copy construction, assignment, equality comparison, and `ostream` printing. (A precise operational definition of when two instances have the same value can be found in the description of `operator==` for the class.) This container is _exception_ _neutral_ with no guarantee of rollback: if an exception is thrown during the invocation of a method on a pre‐existing instance, the class is left in a valid state, but its value is undefined. In no event is memory leaked. Finally, _aliasing_ (e.g., using all or part of an object as both source and destination) is supported in all cases. == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlde/Sha384/2constructor-03.adoc[`Sha384`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdlde/Sha384/loadDigest.adoc[`loadDigest`] | Load the value of this SHA‐2 digest into the specified `result`. | xref:BloombergLP/bdlde/Sha384/loadDigestAndReset.adoc[`loadDigestAndReset`] | Load the current value of this SHA‐2 digest into the specified `result` and set the value of this SHA‐2 digest to the value provided by the default constructor. | xref:BloombergLP/bdlde/Sha384/print.adoc[`print`] | Format the current value of this SHA‐2 digest to the specified output `stream` and return a reference to the modifiable `stream`. | xref:BloombergLP/bdlde/Sha384/reset.adoc[`reset`] | Reset the value of this SHA‐2 digest to the value provided by the default constructor. | xref:BloombergLP/bdlde/Sha384/update.adoc[`update`] | Update this SHA‐2 digest to incorporate the specified data. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlde/Sha384/k_DIGEST_SIZE.adoc[`k_DIGEST_SIZE`] | The size (in bytes) of the output |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bdlde/operator_eq-00.adoc[BloombergLP::bdlde::operator==]` | Return `true` if the specified `lhs` and `rhs` SHA digests have the same value. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlde/operator_not_eq-09a.adoc[`operator!=`] | Return `true` if the SHA digests differ. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#