Giter Club home page Giter Club logo

hands-on-cryptography-with-python's Introduction

Hands-On Cryptography with Python

Hands-On Cryptography with Python

This is the code repository for Hands-On Cryptography with Python, published by Packt.

Leverage the power of Python to encrypt and decrypt data

What is this book about?

Cryptography is essential for protecting sensitive information, but it is often performed inadequately or incorrectly.

This book covers the following exciting features:

  • Protect data with encryption and hashing
  • Explore and compare various encryption methods
  • Encrypt data using the Caesar Cipher technique
  • Make hashes and crack them
  • Learn how to use three NIST-recommended systems: AES, SHA, and RSA

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

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter01.

The code will look like the following:

 alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
 str_in = raw_input("Enter message, like HELLO: ")

 n = len(str_in)
 str_out = ""

 for i in range(n):
    c = str_in[i]
    loc = alpha.find(c)
    print i, c, loc, 
    newloc = loc + 3
    str_out += alpha[newloc]
    print newloc, str_out

 print "Obfuscated version:", str_out

Following is what you need for this book: Hands-On Cryptography with Python is for security professionals who want to learn to encrypt and evaluate data, and compare different encryption methods.

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

Software and Hardware List

Chapter Software required OS required
1-3 Python (latest version) macOS or Ubuntu/Linux

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Sam Bowne Sam Bowne has been teaching computer networking and security classes at City College of San Francisco since 2000. He has given talks and hands-on training at DEFCON, HOPE, B-Sides SF, B-Sides LV, BayThreat, LayerOne, Toorcon, and many other schools and conferences. He has done his PhD and CISSP. He is a DEF CON Black-Badge co-winner.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

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.