org.apache.shiro.crypto.hash.format
Interface ModularCryptFormat
- All Superinterfaces:
- HashFormat
- All Known Implementing Classes:
- Shiro1CryptFormat
public interface ModularCryptFormat
- extends HashFormat
A HashFormat
that supports
Modular Crypt Format token rules.
- Since:
- 1.2
- See Also:
- Crypt (unix),
MCF Journal Entry
Method Summary |
String |
getId()
Returns the Modular Crypt Format identifier that indicates how the formatted String should be parsed. |
Methods inherited from interface org.apache.shiro.crypto.hash.format.HashFormat |
format |
TOKEN_DELIMITER
static final String TOKEN_DELIMITER
- See Also:
- Constant Field Values
getId
String getId()
- Returns the Modular Crypt Format identifier that indicates how the formatted String should be parsed. This id
is always in the MCF-formatted string's first token.
Example values are
md5
, 1
, 2
, apr1
, etc.
- Returns:
- the Modular Crypt Format identifier that indicates how the formatted String should be parsed.
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.