Class Md2Hash

  • All Implemented Interfaces:
    Serializable, Hash, org.apache.shiro.util.ByteSource

    public class Md2Hash
    extends SimpleHash
    Generates an MD2 Hash (RFC 1319) from a given input source with an optional salt and hash iterations.

    See the SimpleHash parent class JavaDoc for a detailed explanation of Hashing techniques and how the overloaded constructors function.

    Since:
    0.9
    See Also:
    Serialized Form
    • Constructor Detail

      • Md2Hash

        public Md2Hash()
      • Md2Hash

        public Md2Hash​(Object source)
      • Md2Hash

        public Md2Hash​(Object source,
                       Object salt,
                       int hashIterations)
    • Method Detail

      • fromHexString

        public static Md2Hash fromHexString​(String hex)
      • fromBase64String

        public static Md2Hash fromBase64String​(String base64)