ro.isdc.wro.model.resource.support.hash
Class SHA1HashStrategy
java.lang.Object
ro.isdc.wro.model.resource.support.hash.AbstractDigesterHashStrategy
ro.isdc.wro.model.resource.support.hash.SHA1HashStrategy
- All Implemented Interfaces:
- HashBuilder, HashStrategy
public class SHA1HashStrategy
- extends AbstractDigesterHashStrategy
Uses SHA1 algorithm for creating fingerprint.
- Since:
- 1.4.7
- Author:
- Alex Objelean
Field Summary |
static String |
ALIAS
A short name of this strategy. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALIAS
public static final String ALIAS
- A short name of this strategy.
- See Also:
- Constant Field Values
SHA1HashStrategy
public SHA1HashStrategy()
newMessageDigest
protected MessageDigest newMessageDigest()
throws NoSuchAlgorithmException
-
- Specified by:
newMessageDigest
in class AbstractDigesterHashStrategy
- Returns:
- MessageDigest used for hashing.
- Throws:
NoSuchAlgorithmException
Copyright © 2008-2013. All Rights Reserved.