Next Previous Table Of Contents

The SHA0 Class

#include <chnhash/sha0.hpp>

Overview

The SHA0 class provides an implementation of the Secure Hash Algorithm as specified in FIPS 180
[FIPSa]. The interface to this class is identical to the SHA1 interface (just substitute SHA0 for SHA1), so it not redescribed here. FIPS 180-1 [FIPSb] is said to correct an undisclosed technical flaw in FIPS 180, so preference should be give to the use of SHA1 over SHA0. (At least if you trust the NSA, which you probably do if you are using SHA to begin with. :) )
Next Previous Table Of Contents