-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
774 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,311 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="https://Don-cloud.github.io/theme/css/style.min.css?2fcac227"> | ||
|
||
<link rel="dns-prefetch" href="//fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin> | ||
|
||
<meta name="author" content="Sajal Sachdev" /> | ||
|
||
<meta property="og:type" content="article" /> | ||
<meta name="twitter:card" content="summary"> | ||
|
||
<meta name="keywords" content="encryption, cybersecurity, Cloud Technologies, " /> | ||
|
||
<meta property="og:title" content="Power of Hashing in modern secure communications "/> | ||
<meta property="og:url" content="https://Don-cloud.github.io/2024/11/03/hashing-intro/" /> | ||
<meta property="og:description" content="Role of Hashing Introduction" /> | ||
<meta property="og:site_name" content="The Digital Sage" /> | ||
<meta property="og:article:author" content="Sajal Sachdev" /> | ||
<meta property="og:article:published_time" content="2024-11-03T10:42:00+01:00" /> | ||
<meta property="og:article:modified_time" content="2024-11-03T10:42:00+01:00" /> | ||
<meta name="twitter:title" content="Power of Hashing in modern secure communications "> | ||
<meta name="twitter:description" content="Role of Hashing Introduction"> | ||
|
||
<title>Power of Hashing in modern secure communications · The Digital Sage | ||
</title> | ||
<link href="https://Don-cloud.github.io/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="The Digital Sage - Full Atom Feed" /> | ||
|
||
|
||
|
||
<link rel="stylesheet" href="https://files.stork-search.net/basic.css" /> | ||
</head> | ||
<body> | ||
<div id="content"> | ||
<div class="navbar navbar-static-top"> | ||
<div class="navbar-inner"> | ||
<div class="container-fluid"> | ||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</a> | ||
<a class="brand" href="https://Don-cloud.github.io/"><span class=site-name>The Digital Sage</span></a> | ||
<div class="nav-collapse collapse"> | ||
<ul class="nav pull-right top-menu"> | ||
<li > | ||
<a href= | ||
https://Don-cloud.github.io | ||
>Home</a> | ||
</li> | ||
<li ><a href="https://Don-cloud.github.io/categories.html">Categories</a></li> | ||
<li ><a href="https://Don-cloud.github.io/tags.html">Tags</a></li> | ||
<li ><a href="https://Don-cloud.github.io/archives.html">Archives</a></li> | ||
<!-- <li><form class="navbar-search" action="https://Don-cloud.github.io/search.html" onsubmit="return validateForm(this.elements['q'].value);"> <input type="text" class="search-query" placeholder="Search" name="q" id="tipue_search_input"></form></li> --> | ||
<li><form class="navbar-search" > <input data-stork="sitesearch" type="text" class="search-query" placeholder="Search" name="q" ></form></li> | ||
<!-- <li> <form class="navbar-search" Search: <input data-stork="sitesearch" ></form></li> --> | ||
<div data-stork="sitesearch-output"></div> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container-fluid"> | ||
<div class="row-fluid"> | ||
<div class="span1"></div> | ||
<div class="span10"> | ||
<article itemscope> | ||
<div class="row-fluid"> | ||
<header class="page-header span10 offset2"> | ||
<h1> | ||
<a href="https://Don-cloud.github.io/2024/11/03/hashing-intro/"> | ||
Power of Hashing in modern secure communications | ||
</a> | ||
</h1> | ||
</header> | ||
</div> | ||
|
||
<div class="row-fluid"> | ||
<div class="span2 table-of-content"> | ||
<nav> | ||
<h4>Contents</h4> | ||
<div class="toc"> | ||
<ul> | ||
<li><a href="#what-is-hashing">What is Hashing?</a></li> | ||
</ul> | ||
</div> | ||
</nav> | ||
</div> | ||
<main> | ||
<div class="span8 article-content"> | ||
|
||
|
||
<p>In today’s world, hashing plays a fundamental role in securing our digital interactions. From protecting passwords to verifying data integrity, hashing is at the core of modern encrypted communications. In this article, we’ll dive into the essentials of hashing, explore its types, and look at its many real-world applications.</p> | ||
<h2 id="what-is-hashing">What is Hashing?<a class="headerlink" href="#what-is-hashing" title="Permanent link">¶</a></h2> | ||
<p>Hashing is a process that transforms input data (often called plaintext) of any length into a fixed-length string of characters. This transformation produces a “hash,” a unique fingerprint of the original data, typically represented by a string of letters and numbers.</p> | ||
<p>The distinct feature of hashing is its <strong>irreversibility</strong>. Once data is hashed, you cannot easily revert it to its original form. This is because hashing is a <strong>one-way function</strong>. Although it’s technically possible to guess the input by brute force or through algorithmic flaws (in weaker hashing algorithms), good hashing algorithms are designed to make such efforts practically infeasible.</p> | ||
<p>In hashing:</p> | ||
<ul> | ||
<li>For a given input, hashing will <strong>always produce the same output</strong> (deterministic).</li> | ||
<li>The hashing process is designed to be computationally <strong>efficient</strong>, producing results quickly even with large inputs.</li> | ||
</ul> | ||
<p>Hashing is therefore ideal for many security applications, particularly because of this unique combination of <strong>irreversibility</strong>, <strong>speed</strong>, and <strong>determinism</strong>.</p> | ||
<p>For example, to hash a password like <code>imaginary-password</code> with the SHA-256 hashing algorithm, you can use the following command in Unix-based systems:</p> | ||
<div class="highlight"><pre><span></span><code><span class="nb">echo</span><span class="w"> </span>-n<span class="w"> </span><span class="s2">"imaginary-password"</span><span class="w"> </span><span class="p">|</span><span class="w"> </span>shasum<span class="w"> </span>-a<span class="w"> </span><span class="m">256</span> | ||
</code></pre></div> | ||
<p>This command produces a 256-bit (32-byte) hash value, which is the “fingerprint” of your input text.</p> | ||
|
||
|
||
|
||
|
||
<p id="post-share-links"> | ||
Like this post? Share on! | ||
<a href="https://twitter.com/intent/tweet?text=Power%20of%20Hashing%20in%20modern%20secure%20communications&url=https%3A//Don-cloud.github.io/2024/11/03/hashing-intro/&hashtags=encryption,cybersecurity" target="_blank" rel="nofollow noopener noreferrer" title="Share on Twitter">Twitter</a> | ||
❄ <a href="https://www.facebook.com/sharer/sharer.php?u=https%3A//Don-cloud.github.io/2024/11/03/hashing-intro/" target="_blank" rel="nofollow noopener noreferrer" title="Share on Facebook">Facebook</a> | ||
❄ <a href="mailto:?subject=Power%20of%20Hashing%20in%20modern%20secure%20communications&body=https%3A//Don-cloud.github.io/2024/11/03/hashing-intro/" target="_blank" rel="nofollow noopener noreferrer" title="Share via Email">Email</a> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr/> | ||
<aside> | ||
<nav> | ||
<ul class="articles-timeline"> | ||
<li class="previous-article">« <a href="https://Don-cloud.github.io/2024/10/20/books-that-inspire/" title="Previous: Tech Wisdom: Books & Resources That Inspire and Elevate Our Tech Journey">Tech Wisdom: Books & Resources That Inspire and Elevate Our Tech Journey</a></li> | ||
</ul> | ||
</nav> | ||
</aside> | ||
</div> | ||
</main> | ||
<section id="article-sidebar" class="span2"> | ||
<h4>Published</h4> | ||
<time itemprop="dateCreated" datetime="2024-11-03T10:42:00+01:00">Sun 03 November 2024</time> | ||
|
||
<h4>Hashing Series</h4> | ||
<ul class="multi-parts-list"> | ||
<li class="active-part"> | ||
Part 1: Power of Hashing in modern secure communications | ||
</li> | ||
</ul> | ||
<h4>Category</h4> | ||
<a class="category-link" href="https://Don-cloud.github.io/categories.html#cloud-technologies-ref">Cloud Technologies</a> | ||
<h4>Tags</h4> | ||
<ul class="list-of-tags tags-in-article"> | ||
<li><a href="https://Don-cloud.github.io/tags.html#cybersecurity-ref">cybersecurity | ||
<span class="superscript">1</span> | ||
</a></li> | ||
<li><a href="https://Don-cloud.github.io/tags.html#encryption-ref">encryption | ||
<span class="superscript">1</span> | ||
</a></li> | ||
</ul> | ||
<h4>Stay in Touch</h4> | ||
<div id="sidebar-social-link"> | ||
<a href="https://www.linkedin.com/in/sajalsachdev/" title="linkedin" target="_blank" rel="nofollow noopener noreferrer"> | ||
<svg xmlns="http://www.w3.org/2000/svg" aria-label="LinkedIn" role="img" viewBox="0 0 512 512" fill="#fff"><rect width="512" height="512" rx="15%" fill="#0077b5"/><circle cx="142" cy="138" r="37"/><path stroke="#fff" stroke-width="66" d="M244 194v198M142 194v198"/><path d="M276 282c0-20 13-40 36-40 24 0 33 18 33 45v105h66V279c0-61-32-89-76-89-34 0-51 19-59 32"/></svg> | ||
</a> | ||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</section> | ||
</div> | ||
|
||
</article> | ||
<!-- Root element of PhotoSwipe. Must have class pswp. --> | ||
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"> | ||
|
||
<!-- Background of PhotoSwipe. | ||
It's a separate element as animating opacity is faster than rgba(). --> | ||
<div class="pswp__bg"></div> | ||
|
||
<!-- Slides wrapper with overflow:hidden. --> | ||
<div class="pswp__scroll-wrap"> | ||
|
||
<!-- Container that holds slides. | ||
PhotoSwipe keeps only 3 of them in the DOM to save memory. | ||
Don't modify these 3 pswp__item elements, data is added later on. --> | ||
<div class="pswp__container"> | ||
<div class="pswp__item"></div> | ||
<div class="pswp__item"></div> | ||
<div class="pswp__item"></div> | ||
</div> | ||
|
||
<!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. --> | ||
<div class="pswp__ui pswp__ui--hidden"> | ||
|
||
<div class="pswp__top-bar"> | ||
|
||
<!-- Controls are self-explanatory. Order can be changed. --> | ||
|
||
<div class="pswp__counter"></div> | ||
|
||
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button> | ||
|
||
<button class="pswp__button pswp__button--share" title="Share"></button> | ||
|
||
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button> | ||
|
||
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button> | ||
|
||
<!-- Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR --> | ||
<!-- element will get class pswp__preloader--active when preloader is running --> | ||
<div class="pswp__preloader"> | ||
<div class="pswp__preloader__icn"> | ||
<div class="pswp__preloader__cut"> | ||
<div class="pswp__preloader__donut"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"> | ||
<div class="pswp__share-tooltip"></div> | ||
</div> | ||
|
||
<button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"> | ||
</button> | ||
|
||
<button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"> | ||
</button> | ||
|
||
<div class="pswp__caption"> | ||
<div class="pswp__caption__center"></div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</div> </div> | ||
<div class="span1"></div> | ||
</div> | ||
</div> | ||
</div> | ||
<footer> | ||
<div> | ||
|
||
© Copyright 2024 by Sajal Sachdev and licensed under a <a rel="license" | ||
href="http://creativecommons.org/licenses/by/4.0/"> | ||
<img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /> | ||
Creative Commons Attribution 4.0 International License</a>. | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
<div id="fpowered"> | ||
Powered by: <a href="http://getpelican.com/" title="Pelican Home Page" target="_blank" rel="nofollow noopener noreferrer">Pelican</a> | ||
Theme: <a href="https://elegant.oncrashreboot.com/" title="Theme Elegant Home Page" target="_blank" rel="nofollow noopener noreferrer">Elegant</a> | ||
</div> | ||
</footer> <script src="//code.jquery.com/jquery.min.js"></script> | ||
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> | ||
<script src="https://Don-cloud.github.io/theme/js/elegant.prod.9e9d5ce754.js"></script> | ||
<script> | ||
function validateForm(query) | ||
{ | ||
return (query.length > 0); | ||
} | ||
</script> | ||
|
||
<script> | ||
(function () { | ||
if (window.location.hash.match(/^#comment-\d+$/)) { | ||
$('#comment_thread').collapse('show'); | ||
} | ||
})(); | ||
window.onhashchange=function(){ | ||
if (window.location.hash.match(/^#comment-\d+$/)) | ||
window.location.reload(true); | ||
} | ||
$('#comment_thread').on('shown', function () { | ||
var link = document.getElementById('comment-accordion-toggle'); | ||
var old_innerHTML = link.innerHTML; | ||
$(link).fadeOut(200, function() { | ||
$(this).text('Click here to hide comments').fadeIn(200); | ||
}); | ||
$('#comment_thread').on('hidden', function () { | ||
$(link).fadeOut(200, function() { | ||
$(this).text(old_innerHTML).fadeIn(200); | ||
}); | ||
}) | ||
}) | ||
</script> | ||
|
||
<script src="https://files.stork-search.net/releases/v1.5.0/stork.js"></script> | ||
<script> | ||
stork.register("sitesearch", "https://Don-cloud.github.io/search-index.st"); | ||
</script> | ||
</body> | ||
<!-- Theme: Elegant built for Pelican | ||
License : MIT --> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.