0%

Book Description

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

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Learn to use the basic MD5 hash
  • Introduces and details the concept of a strong SHA-based hash
  • Add salt to strengthen hashes and create nearly unbreakable hashes

In Detail

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

  1. Instant Java Password and Authentication Security
    1. Instant Java Password and Authentication Security
    2. Credits
    3. About the Author
    4. About the Reviewers
    5. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    7. 1. Instant Java Password and Authentication Security
      1. Creating a simple hash (Simple)
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Password recovery
      2. Creating a strong hash (Simple)
        1. How to do it...
        2. How it works...
        3. There's more...
      3. Adding salt to a hash (Intermediate)
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Crazy hashing and salting
      4. Creating a secure hash (Advanced)
        1. How to do it...
        2. How it works...
        3. There's more...
      5. Overview
        1. Rounding up...
        2. More Info: Hyper Text Transfer Protocol Secure (HTTPS)
3.147.76.213