pike.git / lib / modules / Crypto.pmod / SHA1.pmod

version» Context lines:

pike.git/lib/modules/Crypto.pmod/SHA1.pmod:1:   #pike __REAL_VERSION__   #pragma strict_types + #require constant(Nettle.SHA1)      //! SHA1 is a hash function specified by NIST (The U.S. National   //! Institute for Standards and Technology). It outputs hash values of   //! 160 bits, or 20 octets.    - #if constant(Nettle) && constant(Nettle.SHA1) -  +    inherit Nettle.SHA1;    - Standards.ASN1.Types.Identifier asn1_id() + Standards.ASN1.Types.Identifier pkcs_hash_id()   {    return Standards.PKCS.Identifiers.sha1_id;   } -  - #else - constant this_program_does_not_exist=1; - #endif +