public interface ParsableHashFormat extends HashFormat
ParsableHashFormat
is able to parse a formatted string and convert it into a Hash
instance.
This interface exists to represent HashFormat
s that can offer two-way conversion
(Hash -> String, String -> Hash) capabilities. Some HashFormats, such as many ModularCryptFormat
s
(like Unix Crypt(3)) only support one way conversion and therefore wouldn't implement this interface.Shiro1CryptFormat
Modifier and Type | Method and Description |
---|---|
Hash |
parse(String formatted)
Parses the specified formatted string and returns the corresponding Hash instance.
|
format
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.