Giter VIP home page Giter VIP logo

essential-cryptography-for-javascript-developers's Introduction

Get this product for $5

Packt is having its biggest sale of the year. Get this eBook or any other book, video, or course that you like just for $5 each

Buy now

Buy similar titles for just $5

Essential Cryptography for JavaScript Developers

Essential Cryptography for JavaScript Developers, published by Packt

Essential Cryptography for JavaScript Developers

This is the code repository for Essential Cryptography for JavaScript Developers, published by Packt.

A practical guide to leveraging common cryptographic operations in Node.js and the browser

What is this book about?

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.

This book covers the following exciting features:

  • 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 safelys

If you feel this book is for you, get your copy today!

Instructions and Navigations

All of the code is organized into folders.

The code will look like the following:

import {Encode} from 'arraybuffer-encoding/hex'
;(async () => {
    const message = (new TextEncoder())
        .encode('Hello world!')
    const result = await window.crypto.subtle.digest(
        'SHA-256',
        message,
    )
    console.log(Encode(result))
})
()


Following is what you need for this book:

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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-8).

Software and Hardware List

Installation of node.js and visual studio code editor is required.

Related products

Get to Know the Author

Alessandro Segala is a product manager at Microsoft working on developer tools. A software engineer at heart, he has over a decade of experience building full stack web applications, having worked as a professional developer as well as contributing to and maintaining various open source projects. In addition to writing about software development on his blog, Alessandro had his first book, Svelte 3 Up and Running, published by Packt in 2020.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781801075336

essential-cryptography-for-javascript-developers's People

Contributors

italypaleale avatar packt-itservice avatar packtutkarshr avatar divyavijayan123 avatar fayisode avatar keagancarneiro avatar simranudasi23 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.