Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Instant streaming of thousands of movies and TV episodes with Prime Video
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Essential Cryptography for JavaScript Developers: A practical guide to leveraging common cryptographic operations in Node.js and the browser
Purchase options and add-ons
Discover how to take advantage of common cryptographic operations to build safer apps that respect users' privacy with the help of examples in JavaScript for Node.js and browsers
Key Features
- Understand how to implement common cryptographic operations in your code with practical examples
- Learn about picking modern safe algorithms, which libraries you should rely on, and how to use them correctly
- Build modern and secure applications that respect your users' privacy with cryptography
Book Description
If you're a software developer, this book will give you an introduction to cryptography, helping you understand how to make the most of it for your applications. The book contains extensive code samples in JavaScript, both for Node.js and for frontend apps running in a web browser, although the core concepts can be used by developers working with any programming language and framework.
With a purely hands-on approach that is focused on sharing actionable knowledge, you'll learn about the common categories of cryptographic operations that you can leverage in all apps you're developing, including hashing, encryption with symmetric, asymmetric and hybrid ciphers, and digital signatures. You'll learn when to use these operations and how to choose and implement the most popular algorithms to perform them, including SHA-2, Argon2, AES, ChaCha20-Poly1305, RSA, and Elliptic Curve Cryptography. Later, you'll learn how to deal with password and key management. All code in this book is written in JavaScript and designed to run in Node.js or as part of frontend apps for web browsers.
By the end of this book, you'll be able to build solutions that leverage cryptography to protect user privacy, offer better security against an expanding and more complex threat landscape, help meet data protection requirements, and unlock new opportunities.
What you will learn
- Write JavaScript code that uses cryptography running within a Node.js environment for the server-side or in frontend applications for web browsers
- Use modern, safe hashing functions for calculating digests and key derivation, including SHA-2 and Argon2
- Practice encrypting messages and files with a symmetric key using AES and ChaCha20-Poly1305
- Use asymmetric and hybrid encryption, leveraging RSA and Elliptic Curve Cryptography with ECDH and ECIES
- Calculate and verify digital signatures using RSA and ECDSA/EdDSA
- Manage passwords and encryption keys safely
Who this book is for
This cryptography book is an introductory guide for software developers who don't necessarily have a background in cryptography but are interested in learning how to integrate it in their solutions, correctly and safely. You'll need to have at least intermediate-level knowledge of building apps with JavaScript and familiarity with Node.js to make the most of this book.
Table of Contents
- Cryptography for Developers
- Dealing with Binary and Random Data
- File and Password Hashing with Node.js
- Symmetric Encryption in Node.js
- Using Asymmetric and Hybrid Encryption in Node.js
- Digital Signatures with Node.js and Trust
- Introduction to Cryptography in the Browser
- Performing Common Cryptographic Operations in the Browser
- ISBN-101801075336
- ISBN-13978-1801075336
- PublisherPackt Publishing
- Publication date
2022
February 28
- Language
EN
English
- Dimensions
7.5 x 0.5 x 9.3
inches
- Length
220
Pages
Customers who bought this item also bought
Editorial Reviews
About the Author
Product details
- Publisher : Packt Publishing (February 28, 2022)
- Language : English
- Paperback : 220 pages
- ISBN-10 : 1801075336
- ISBN-13 : 978-1801075336
- Item Weight : 13.7 ounces
- Dimensions : 7.5 x 0.5 x 9.25 inches
- Best Sellers Rank: #2,096,829 in Books (See Top 100 in Books)
- #506 in Computer Cryptography
- #520 in JavaScript Programming (Books)
- #578 in Web Encryption
- Customer Reviews:
Important information
To report an issue with this product, click here.
About the author

Discover more of the author’s books, see similar authors, read author blogs and more
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews





