Class SHA1Constants
java.lang.Object
org.apache.harmony.security.provider.crypto.SHA1Constants
public final class SHA1Constants extends Object
This interface contains :
- a set of constant values, H0-H4, defined in "SECURE HASH STANDARD", FIPS PUB 180-2 ;
- implementation constant values to use in classes using SHA-1 algorithm.
- a set of constant values, H0-H4, defined in "SECURE HASH STANDARD", FIPS PUB 180-2 ;
- implementation constant values to use in classes using SHA-1 algorithm.
-
Field Summary
Fields Modifier and Type Field Description static intBYTES_OFFSEToffset in buffer to store number of bytes in 0-15 word framestatic intDIGEST_LENGTH# of bytes in H0-H4 words;
in this implementation # is set to 20 (in general # varies from 1 to 20)static intH0constant defined in "SECURE HASH STANDARD"static intH1constant defined in "SECURE HASH STANDARD"static intH2constant defined in "SECURE HASH STANDARD"static intH3constant defined in "SECURE HASH STANDARD"static intH4constant defined in "SECURE HASH STANDARD"static intHASH_OFFSEToffset in buffer to store current hash value -
Method Summary
-
Field Details
-
H0
public static final int H0constant defined in "SECURE HASH STANDARD"- See Also:
- Constant Field Values
-
H1
public static final int H1constant defined in "SECURE HASH STANDARD"- See Also:
- Constant Field Values
-
H2
public static final int H2constant defined in "SECURE HASH STANDARD"- See Also:
- Constant Field Values
-
H3
public static final int H3constant defined in "SECURE HASH STANDARD"- See Also:
- Constant Field Values
-
H4
public static final int H4constant defined in "SECURE HASH STANDARD"- See Also:
- Constant Field Values
-
BYTES_OFFSET
public static final int BYTES_OFFSEToffset in buffer to store number of bytes in 0-15 word frame- See Also:
- Constant Field Values
-
HASH_OFFSET
public static final int HASH_OFFSEToffset in buffer to store current hash value- See Also:
- Constant Field Values
-
DIGEST_LENGTH
public static final int DIGEST_LENGTH# of bytes in H0-H4 words;
in this implementation # is set to 20 (in general # varies from 1 to 20)- See Also:
- Constant Field Values
-