07.07.2023 Views

Implementing-cryptography-using-python

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

284 Index ■ T–Z

self-signed certificate, 45–46

semantics, understanding Python semantics,

20

sequence types, 20–26

server

creating one for constructing plaintext

communications application, 248–250

modifying of for implementing PKI in

application using RSA certificates,

256–257

server file, modifying of in implementing

Diffie-Hellman key exchange, 262–264

server socket, creating, 212–213

SHA, 203–204

Shamir, Edi, 34, 226

Shannon, Claude (father of information

theory), 31, 50

Shannon’s theorem, 50–51

shared key (SK), 34

side-channel attacks, 48

SIMD (single instruction, multiple data),

151–152

single quote (’), 11

Skipjack, 36

Smith, J. L., 159

social engineering, 48

sort() method, 25

Spartan scytale, 73

Standards of Efficient Cryptography (SEC),

241

Steganographia (Trithemius), 187–188

steganography

overview, 187–188

storing binary file inside image, 192–194

storing message inside image, 188–191

working with large images, 195–197

str sequence type, 20

stream ciphers

ARC4, 147–148

ChaCha cipher, 151–156

overview, 141–147

Salsa20 cipher, 149–151

Vernam cipher, 148–149

stream modes, 164–165

stretching (of passwords), 68

strings

use of, 11

using quotes to define, 21

subtraction - operator, 12

symmetric algorithms, 36

symmetric encryption, 8, 36, 39, 49, 176, 215–218

symmetric key, 35

symmetric key confidentiality, for

incorporating message hashing, 201

symmetric key protocol, 36

symmetric public key confidentiality, for

incorporating message hashing, 201

T

t A (notation in cryptographic protocols),

37

Ticket Granting Servers (TGS), 40

timestamping, 33

Transmission Control Protocol (TCP), 212,

214–215

Transport Layer Security (TLS), 33

Triple DES, 156

Trithemius, Johannes (author),

Steganographia, 187

Trivium, 145

trusted third party (TTP), 35

Tuchman, W. L., 159

tuple() function, 25

tuple sequence type, 20, 21, 24, 25

The Twelve Caesars, 74–76

U

Ubuntu, installing Python on, 4

unhexlify module, 140

Unicode sequence type, 20

User Datagram Protocol (UDP), 212

V

validation, formal validation of

cryptographic protocols, 46–47

values, as stored in variables, 10

variables, use of, 10–11

Vernam, Gilbert, 148

Vernam cipher, 148–149

Vignère cipher, 77–79, 129–137

W

W file operator, 19

W+ file operator, 19

while loop, 18

whitespace, as meaningful, 10

Windows, installing Python on, 4

Wireguard, 145

Wireshark, installing and testing, 253–254

X

X.509, 41–42

XOR, 50–55

xrange sequence type, 20, 21

Z

zero-knowledge proofs, 33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!