.. _std_sha256: .. highlight:: d std.sha256 ---------- .. c:namespace:: std.sha256 Module entries: :class:`Sha256` .. class:: Sha256 Computes the SHA-256 hash of a piece of data. .. method:: this() `this()` Create a new instance. .. method:: update(data) `void update(ubyte[] data)` Update the hash for a block of data. The result for calling update multiple times is the same as if update had been called once with all data. .. method:: finalize() `ubyte[] finalize()` Return the hash value. `update` must not be called past this point.