Skip to Content
Phoenix Web Development
book

Phoenix Web Development

by Brandon Richey
April 2018
Beginner to intermediate content levelBeginner to intermediate
406 pages
9h 33m
English
Packt Publishing
Content preview from Phoenix Web Development

Setting up the password functionality

We have our controller, our context, our schema, and everything in between! Our code is supported by a well-tested foundation and at least a baseline level of functionality, so let's move on to making the user signup portion better-protected by dealing with passwords and encryption! The first thing we'll want to do before we do anything else is install a library that will help us handle the encryption portion of building our user account system. For us to be able to do that, we will want to use a handy library called Comeonin. This library provides a number of different password encryption schemes, but we'll stick to just using bcrypt, an incredibly common and reliable password encryption algorithm!

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Phoenix in Action

Phoenix in Action

Geoffrey Lessel
Real-Time Phoenix

Real-Time Phoenix

Stephen Bussey

Publisher Resources

ISBN: 9781787284197Supplemental Content