My Account Log in

1 option

Demystifying Cryptography with OpenSSL 3. 0. : Discover the Best Techniques to Enhance Your Network Security with OpenSSL 3. 0 / Alexei Khlebnikov and Jarle Adolfsen.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Khlebnikov, Alexei, author.
Adolfsen, Jarle, author.
Language:
English
Subjects (All):
Computer networks--Security measures--Computer programs.
Computer networks.
Data encryption (Computer science).
Physical Description:
1 online resource (342 p.)
Edition:
First edition.
Place of Publication:
Birmingham, England : Packt Publishing Ltd., [2022]
Biography/History:
Khlebnikov Alexei: Alexei Khlebnikov has more than 20 years of professional experience in IT, where he worked in different roles - software developer, system administrator, DevOps engineer, technical leader, architect and project manager. During those years Alexei worked with many technologies - Security, Artificial Intelligence, Web Development, Embedded, Mobile, and Robotics. Among other companies, Alexei worked in Opera Software on the famous Opera Internet browser. Alexei has always been interested in security. He was one of the maintainers of security-related Opera browser modules, responsible for cryptography, SSL/TLS and integration with OpenSSL. He was also a member of the Security Architects group, responsible for the security of the Opera browser. Now Alexei lives in Oslo, Norway, and works as a senior consultant for Bespoke AS. He is also the leader of the Architects group at his current employer.
Summary:
Use OpenSSL to add security features to your application, including cryptographically strong symmetric and asymmetric encryption, digital signatures, SSL/TLS connectivity, and PKI handling Key Features Secure your applications against common network security threats using OpenSSL Get to grips with the latest version of OpenSSL, its new features, and advantages Learn about PKI, cryptography, certificate authorities, and more using real-world examples Book Description Security and networking are essential features of software today. The modern internet is full of worms, Trojan horses, men-in-the-middle, and other threats. This is why maintaining security is more important than ever. OpenSSL is one of the most widely used and essential open source projects on the internet for this purpose. If you are a software developer, system administrator, network security engineer, or DevOps specialist, you've probably stumbled upon this toolset in the past - but how do you make the most out of it? With the help of this book, you will learn the most important features of OpenSSL, and gain insight into its full potential. This book contains step-by-step explanations of essential cryptography and network security concepts, as well as practical examples illustrating the usage of those concepts. You'll start by learning the basics, such as how to perform symmetric encryption and calculate message digests. Next, you will discover more about cryptography: MAC and HMAC, public and private keys, and digital signatures. As you progress, you will explore best practices for using X.509 certificates, public key infrastructure, and TLS connections. By the end of this book, you'll be able to use the most popular features of OpenSSL, allowing you to implement cryptography and TLS in your applications and network infrastructure. What you will learn Understand how to use symmetric cryptography Get to grips with message digests, MAC, and HMAC Discover asymmetric cryptography and digital signatures Focus on how to apply and use X.509 certificates Dive into TLS and its proper usage Manage advanced and special usages of TLS Find out how to run a mini certificate authority for your organization Who this book is for This book is for software developers, system administrators, DevOps specialists, network security engineers, and analysts, or anyone who wants to keep their applications and infrastructure secure. Software developers will learn how to use the OpenSSL library to empower their software with cryptography and TLS. DevOps professionals and sysadmins will learn how to work with cryptographic keys and certificates on the command line, and how to set up a mini-CA for their organization. A basic understanding of security and networking is required.
Contents:
Cover
Title page
Copyright and Credits
Dedication
Foreword
Contributors
Table of Contents
Preface
Part 1: Introduction
Chapter 1: OpenSSL and Other SSL/TLS Libraries
What is OpenSSL?
The history of OpenSSL
What's new in OpenSSL 3.0?
Comparing OpenSSL with GnuTLS
Comparing OpenSSL with NSS
Comparing OpenSSL with Botan
Comparing OpenSSL with lightweight TLS libraries
Comparing OpenSSL with LibreSSL
Comparing OpenSSL with BoringSSL
Summary
Part 2: Symmetric Cryptography
Chapter 2: Symmetric Encryption and Decryption
Technical requirements
Understanding symmetric encryption
An overview of the symmetric ciphers supported by OpenSSL
Comparing block ciphers and stream ciphers
Understanding symmetric cipher security
How many bits of security is enough?
Reviewing the AES cipher
Reviewing DES and 3DES ciphers
Reviewing the RC4 cipher
Reviewing the ChaCha20 cipher
Reviewing other symmetric ciphers supported by OpenSSL
Block cipher modes of operation
Reviewing the Electronic Code Book mode
Reviewing CBC mode
Reviewing CTR mode
Reviewing GCM
Reviewing AES-GCM-SIV
Other block cipher operation modes
Choosing the block cipher operation mode
Padding for block ciphers
How to generate a symmetric encryption key
Downloading and installing OpenSSL
How to encrypt and decrypt with AES on the command line
Initializing and uninitializing OpenSSL library
How to compile and link with OpenSSL
How to encrypt with AES programmatically
Implementing the encryption program
Running the encrypt program
How to decrypt with AES programmatically
Implementing the decrypt program
Running the decrypt program
Summary
Chapter 3: Message Digests
Technical requirements
What are message digests and cryptographic hash functions?
Why are message digests needed?
Data integrity verification
Basis for HMAC
Digital signatures
Network protocols
Password verification
Content identifier
Blockchain and cryptocurrencies
Proof-of-work
Assessing the security of cryptographic hash functions
Overview of the cryptographic hash functions supported by OpenSSL
Reviewing the SHA-2 family of hash functions
Reviewing the SHA-3 family of hash functions
Reviewing the SHA-1 and SHA-0 hash functions
Reviewing the MD family of hash functions
Reviewing the BLAKE2 family of hash functions
Reviewing less popular hash functions supported by OpenSSL
Which cryptographic hash function should you choose?
How to calculate a message digest on the command line
How to calculate the message digest programmatically
Implementing the digest program
Running the digest program
Chapter 4: MAC and HMAC
What is a MAC?
Understanding MAC function security
HMAC
a hash-based MAC
Notes:
Includes index.
OCLC-licensed vendor bibliographic record.
Description based on print version record.
ISBN:
9781800562226
1800562225
OCLC:
1348482195

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account