Uses of Interface
org.apache.shiro.crypto.hash.Hash

Packages that use Hash
org.apache.shiro.authc.credential Support for validating credentials (such as passwords or X509 certificates) during authentication via the CredentialsMatcher interface and its supporting implementations. 
org.apache.shiro.crypto.hash Cryptographic Hashing components that greatly simplify one-way data hashing in an application. 
org.apache.shiro.crypto.hash.format   
 

Uses of Hash in org.apache.shiro.authc.credential
 

Methods in org.apache.shiro.authc.credential that return Hash
 Hash HashingPasswordService.hashPassword(Object plaintext)
          Hashes the specified plaintext password using internal hashing configuration settings pertinent to password hashing.
 Hash DefaultPasswordService.hashPassword(Object plaintext)
           
protected  Hash HashedCredentialsMatcher.hashProvidedCredentials(Object credentials, Object salt, int hashIterations)
          Hashes the provided credentials a total of hashIterations times, using the given salt.
 

Methods in org.apache.shiro.authc.credential with parameters of type Hash
protected  HashRequest DefaultPasswordService.buildHashRequest(ByteSource plaintext, Hash saved)
           
 boolean HashingPasswordService.passwordsMatch(Object plaintext, Hash savedPasswordHash)
          Returns true if the submittedPlaintext password matches the existing savedPasswordHash, false otherwise.
 boolean DefaultPasswordService.passwordsMatch(Object plaintext, Hash saved)
           
 

Uses of Hash in org.apache.shiro.crypto.hash
 

Classes in org.apache.shiro.crypto.hash that implement Hash
 class AbstractHash
          Deprecated. in Shiro 1.1 in favor of using the concrete SimpleHash implementation directly.
 class Md2Hash
          Generates an MD2 Hash (RFC 1319) from a given input source with an optional salt and hash iterations.
 class Md5Hash
          Generates an MD5 Hash (RFC 1321) from a given input source with an optional salt and hash iterations.
 class Sha1Hash
          Generates an SHA-1 Hash (Secure Hash Standard, NIST FIPS 180-1) from a given input source with an optional salt and hash iterations.
 class Sha256Hash
          Generates an SHA-256 Hash from a given input source with an optional salt and hash iterations.
 class Sha384Hash
          Generates an SHA-384 Hash from a given input source with an optional salt and hash iterations.
 class Sha512Hash
          Generates an SHA-512 Hash from a given input source with an optional salt and hash iterations.
 class SimpleHash
          A Hash implementation that allows any MessageDigest algorithm name to be used.
 

Methods in org.apache.shiro.crypto.hash that return Hash
 Hash HashService.computeHash(HashRequest request)
          Computes a hash based on the given request.
 Hash DefaultHashService.computeHash(HashRequest request)
          Computes and responds with a hash based on the specified request.
 

Uses of Hash in org.apache.shiro.crypto.hash.format
 

Methods in org.apache.shiro.crypto.hash.format that return Hash
 Hash Shiro1CryptFormat.parse(String formatted)
           
 Hash ParsableHashFormat.parse(String formatted)
          Parses the specified formatted string and returns the corresponding Hash instance.
 

Methods in org.apache.shiro.crypto.hash.format with parameters of type Hash
 String Shiro1CryptFormat.format(Hash hash)
           
 String HexFormat.format(Hash hash)
          Returns hash != null ? hash.toHex() : null.
 String HashFormat.format(Hash hash)
          Returns a formatted string representing the specified Hash instance.
 String Base64Format.format(Hash hash)
          Returns hash != null ? hash.toBase64() : null.
 



Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.