blob: a5451cc2c89b4f8ba5c31c91b1f8302e5efc94bf [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (11.0.4) on Fri Jan 24 17:07:14 CET 2020 -->
<title>org.apache.shiro.crypto.hash (Apache Shiro 1.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-01-24">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="org.apache.shiro.crypto.hash (Apache Shiro 1.5.0 API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h1 title="Package" class="title">Package&nbsp;org.apache.shiro.crypto.hash</h1>
</div>
<div class="contentContainer">
<section role="region"><a id="package.description">
<!-- -->
</a>
<div class="block">Cryptographic Hashing components that greatly simplify one-way data hashing in an application.
<p/>
The <a href="Hash.html" title="interface in org.apache.shiro.crypto.hash"><code>Hash</code></a> interface and its implementations are significantly
easier to understand and use compared to the JDK's <code>MessageDigest</code> mechanism.</div>
</section>
<ul class="blockList">
<li class="blockList">
<table class="typeSummary">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="ConfigurableHashService.html" title="interface in org.apache.shiro.crypto.hash">ConfigurableHashService</a></th>
<td class="colLast">
<div class="block">A <code>HashService</code> that allows configuration of its strategy via JavaBeans-compatible setter methods.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="Hash.html" title="interface in org.apache.shiro.crypto.hash">Hash</a></th>
<td class="colLast">
<div class="block">A Cryptographic <code>Hash</code> represents a one-way conversion algorithm that transforms an input source to an
underlying byte array.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="HashRequest.html" title="interface in org.apache.shiro.crypto.hash">HashRequest</a></th>
<td class="colLast">
<div class="block">A <code>HashRequest</code> is composed of data that will be used by a <a href="HashService.html" title="interface in org.apache.shiro.crypto.hash"><code>HashService</code></a> to compute a hash (aka
'digest').</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="HashService.html" title="interface in org.apache.shiro.crypto.hash">HashService</a></th>
<td class="colLast">
<div class="block">A <code>HashService</code> hashes input sources utilizing a particular hashing strategy.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AbstractHash.html" title="class in org.apache.shiro.crypto.hash">AbstractHash</a></th>
<td class="colLast">Deprecated.
<div class="deprecationComment">in Shiro 1.1 in favor of using the concrete <a href="SimpleHash.html" title="class in org.apache.shiro.crypto.hash"><code>SimpleHash</code></a> implementation directly.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="DefaultHashService.html" title="class in org.apache.shiro.crypto.hash">DefaultHashService</a></th>
<td class="colLast">
<div class="block">Default implementation of the <a href="HashService.html" title="interface in org.apache.shiro.crypto.hash"><code>HashService</code></a> interface, supporting a customizable hash algorithm name,
secure-random salt generation, multiple hash iterations and an optional internal
<a href="DefaultHashService.html#setPrivateSalt(org.apache.shiro.util.ByteSource)"><code>privateSalt</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="HashRequest.Builder.html" title="class in org.apache.shiro.crypto.hash">HashRequest.Builder</a></th>
<td class="colLast">
<div class="block">A Builder class representing the Builder design pattern for constructing <a href="HashRequest.html" title="interface in org.apache.shiro.crypto.hash"><code>HashRequest</code></a> instances.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="Md2Hash.html" title="class in org.apache.shiro.crypto.hash">Md2Hash</a></th>
<td class="colLast">
<div class="block">Generates an MD2 Hash (RFC 1319) from a given input <tt>source</tt> with an optional <tt>salt</tt> and
hash iterations.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="Md5Hash.html" title="class in org.apache.shiro.crypto.hash">Md5Hash</a></th>
<td class="colLast">
<div class="block">Generates an MD5 Hash (RFC 1321) from a given input <tt>source</tt> with an optional <tt>salt</tt> and
hash iterations.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="Sha1Hash.html" title="class in org.apache.shiro.crypto.hash">Sha1Hash</a></th>
<td class="colLast">
<div class="block">Generates an SHA-1 Hash (Secure Hash Standard, NIST FIPS 180-1) from a given input <tt>source</tt> with an
optional <tt>salt</tt> and hash iterations.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="Sha256Hash.html" title="class in org.apache.shiro.crypto.hash">Sha256Hash</a></th>
<td class="colLast">
<div class="block">Generates an SHA-256 Hash from a given input <tt>source</tt> with an optional <tt>salt</tt> and hash iterations.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="Sha384Hash.html" title="class in org.apache.shiro.crypto.hash">Sha384Hash</a></th>
<td class="colLast">
<div class="block">Generates an SHA-384 Hash from a given input <tt>source</tt> with an optional <tt>salt</tt> and hash iterations.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="Sha512Hash.html" title="class in org.apache.shiro.crypto.hash">Sha512Hash</a></th>
<td class="colLast">
<div class="block">Generates an SHA-512 Hash from a given input <tt>source</tt> with an optional <tt>salt</tt> and hash iterations.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="SimpleHash.html" title="class in org.apache.shiro.crypto.hash">SimpleHash</a></th>
<td class="colLast">
<div class="block">A <code>Hash</code> implementation that allows any <a href="https://docs.oracle.com/javase/8/docs/api/java/security/MessageDigest.html?is-external=true" title="class or interface in java.security" class="externalLink"><code>MessageDigest</code></a> algorithm name to
be used.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="SimpleHashRequest.html" title="class in org.apache.shiro.crypto.hash">SimpleHashRequest</a></th>
<td class="colLast">
<div class="block">Simple implementation of <a href="HashRequest.html" title="interface in org.apache.shiro.crypto.hash"><code>HashRequest</code></a> that can be used when interacting with a <a href="HashService.html" title="interface in org.apache.shiro.crypto.hash"><code>HashService</code></a>.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>