nn::crypto::Sha256Context Class

Syntax

class Sha256Context : public nn::crypto::ShaBlock512BitContext

Description

Context object for SHA-256 calculation.

Member Functions

Sha256Context Creates a SHA-256 calculation context. No initialization is performed.
~Sha256Context Destroys a SHA-256 calculation context.
V Initialize Initializes a SHA-256 calculation context.
V Finalize Ends a SHA-256 calculation context.
V Update Updates a SHA-256 hash value using the given data.
V GetHashLength Gets the length of the SHA-256 hash.
V GetHash Gets the final result of calculating the SHA-256 hash.

Class Hierarchy

nn::crypto::HashContextBase
  nn::crypto::ShaBlock512BitContext
    nn::crypto::Sha256Context

Revision History

2010/01/07
Initial version.

CONFIDENTIAL