Instant Java Password and Authentication Security [Instant]

This title is available as an eBook only
Instant Java Password and Authentication Security [Instant]
eBook: $19.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print & eBook also available on:
Learn in an Instant - Short, Fast, Focused
Table of Contents
Sample Chapters
  • 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

Book Details

Language : English
eBook : 38 pages
Release Date : November 2013
ISBN : 1849697760
ISBN 13 : 9781849697767
Author(s) : Fernando Mayoral
Topics and Technologies : All Books, Instant, Other
Sorry, the table of contents for this book is not yet available.

Fernando Mayoral

Fernando Mayoral is a young app developer and an advanced student in Systems Engineering, with experience in distributed systems, data mining, high performance algorithms, and web security. He is a web security enthusiast, always trying to learn as much as possible. Fernando has taken part in very interesting startups, personal projects, and full time jobs. He has worked on big projects for Cardif, a multinational insurance company that is part of the BNP Paribas group, and has collaborated indirectly on projects for Toyota and Pan American Energy.
Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sorry, there are currently no downloads available for this title.

Frequently bought together

Instant Java Password and Authentication Security [Instant] +    Blender 3D Basics =
50% Off
the second eBook
Price for both: $35.50

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • 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

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.


Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This book takes a hands-on approach to Java-based password hashing and authentication, detailing advanced topics in a recipe format.

Who this book is for

This book is ideal for developers new to user authentication and password security, and who are looking to get a good grounding in how to implement it in a reliable way.

It’s assumed that the reader will have some experience in Java already, as well as being familiar with the basic idea behind user authentication.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software