Instant Java Password and Authentication Security

A practical, hands-on guide to securing Java application passwords with hashing techniques

Instant Java Password and Authentication Security

This ebook is included in a Mapt subscription
Fernando Mayoral

A practical, hands-on guide to securing Java application passwords with hashing techniques
$0.00
$10.00
$29.99p/m after trial
RRP $19.99
Subscription
eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781849697767
Paperback38 pages

Book Description

Password security is a critical matter when it comes to protecting the interests of application users and their data for a satisfactory user experience. With the advancement in technology, now more than ever, application developers need to be able to implement reliable mechanisms to prevent passwords from being stolen. Java Password and Authentication Security provides a practical approach to implement these reliable mechanisms with the possibility to make password authentication stronger as technology makes it easier to break them.

Java Password and Authentication Security is a practical, hands-on guide covering a number of clear, step-by-step exercises and code examples that will help you to implement strong password authentication solutions for your project in no time.

This book starts off with the most basic and well known hashing technique to quickly get an application developer started with implementing a standard password protection mechanism. Furthermore, it covers the stronger SHA (standard hashing algorithm) family in detail and brings up a technique to improve the hash security with a technique called “salting”.

You will also learn how to use these hashes, and more importantly, when to use each technique. You will learn that not every hash algorithm is good in every situation, and how to deal with password recovery, password authentication, and timing attacks.

Table of Contents

Chapter 1: Instant Java Password and Authentication Security
Creating a simple hash (Simple)
Creating a strong hash (Simple)
Adding salt to a hash (Intermediate)
Creating a secure hash (Advanced)
Overview

What You Will Learn

  • How and when to use the MD5 hash
  • Create every SHA-based hash
  • Use SHA hashes, and learning their weaknesses
  • Add salt to a hash
  • Store salts and regenerate the hash using the original salt
  • Implement an iterative hashing mechanism
  • Increase the strength of your hashes with an iterative hashing mechanism
  • Implement a length-constant time comparison to avoid timing attacks

Authors

Table of Contents

Chapter 1: Instant Java Password and Authentication Security
Creating a simple hash (Simple)
Creating a strong hash (Simple)
Adding salt to a hash (Intermediate)
Creating a secure hash (Advanced)
Overview

Book Details

ISBN 139781849697767
Paperback38 pages
Read More

Read More Reviews

Recommended for You