Essential Cryptography for JavaScript Developers: A practical guide to leveraging common cryptographic operations in Node.js and the browser

0
(0)

Essential Cryptography for JavaScript Developers: A practical guide to leveraging common cryptographic operations in Node.js and the browser
 

  • Author:Alessandro Segala
  • Length: 220 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2022-02-28
  • ISBN-10: 1801075336
  • ISBN-13: 9781801075336
  • Sales Rank: #905536 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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.

    中文:

    书名:Essential Cryptography for JavaScript Developers: A practical guide to leveraging common cryptographic operations in Node.js and the browser

    通过Node.js和浏览器的JavaScript示例,了解如何利用常见的加密操作来构建尊重用户隐私的更安全的应用程序

    Key Features

    • 通过实际示例了解如何在代码中实现常见的加密操作
    • 了解有关选择现代安全算法、应该依赖哪些库以及如何正确使用它们的信息
    • 使用加密技术构建尊重用户隐私的现代安全应用程序

    Book Description

    如果你是一名软件开发人员,这本书将向你介绍密码学,帮助你了解如何在你的应用程序中最大限度地利用密码学。这本书包含了大量的JavaScript代码示例,既适用于Node.js,也适用于在Web浏览器中运行的前端应用程序,尽管核心概念可以由使用任何编程语言和框架的开发人员使用。

    通过专注于共享可操作知识的纯动手方法,您将了解可以在您正在开发的所有应用程序中使用的常见加密操作类别,包括散列、使用对称、非对称和混合密码的加密以及数字签名。您将学习何时使用这些操作,以及如何选择和实现最流行的算法来执行它们,包括SHA-2、Argon2、AES、ChaCha20-Poly1305、RSA和椭圆曲线加密。稍后,您将学习如何处理密码和密钥管理。这本书中的所有代码都是用JavaScript编写的,旨在运行在Node.js中或作为Web浏览器的前端应用程序的一部分。

    到本书结束时,您将能够构建利用加密技术保护用户隐私的解决方案,针对不断扩大和更复杂的威胁环境提供更好的安全性,帮助满足数据保护要求,并释放新的机会。

    What you will learn

    • 编写使用在服务器端的Node.js环境或Web浏览器的前端应用程序中运行的加密技术的JavaScript代码
    • 使用现代、安全的散列函数来计算摘要和密钥派生,包括SHA-2和Argon2
    • 练习使用AES和ChaCha20-Poly1305使用对称密钥加密消息和文件
    • 使用非对称和混合加密,将RSA和椭圆曲线加密与ECDH和ECIES结合使用
    • 使用RSA和ECDSA/EdDSA计算和验证数字签名
    • 安全管理密码和加密密钥

    这本书是为谁而写的

    这本密码学书籍是软件开发人员的入门指南,他们不一定有密码学背景,但有兴趣学习如何正确和安全地将密码学集成到他们的解决方案中。要充分理解这本书,您至少需要具备使用JavaScript构建应用程序的中级知识,并熟悉Node.js。

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册