There are seven videos with code examples, (almost 2.5 hours of content) focused on cryptography. I’ve also updated the 'getting_started_contents.xlsx' spreadsheet in the main folder with a ‘crypto tab’ that explains what's out there.
We will be demonstrating some examples of encryption using the Python ‘pycrypto’ module. Pycrypto is one of the most popular crypto modules available and one of the more frequent PyPi repository downloads.
The code that we will base our examples on was taken from an excellent example tutorial called “Python Encryption Tutorial with Pycrypto’ by Sentdex. I've included the source (crypto.py) in the CiscoLive code example folders but it can also be found here:
The purpose of the videos and code samples that we’ve uploaded is to break down/decompose most of the program elements into it's constituent parts. The content is intended to provide some additional background information on concepts like:
- Installing pycrypto in Windows environments
- Demonstration of ‘compiling’ a python program (turning a .pyc file into a windows .exe file)
- Base64 encoding
- Python lambdas
- How the AES algorithm works - I.e. the various AES block modes of operation, implications of key size selection, making sense out
of the programs block PADDING scheme, etc.,etc
If your comfortable with the original code and video that was provided by Sentdex (both are excellent btw;), then please don’t bother with the content.
If, on the other hand, you’d like to get a little more detail (perhaps from a different perspective) about how the code works or are interested in understanding some additional background about the AES cipher (and various design choices to consider when using it), then please, help yourself!
If your not sure where to begin, then start out watching the last video module 7 called ‘Putting it all together’. This just dissects the crypto.py program code step by step. Each element of the program has a video/code example that drills down from there.
I’m looking forward to our DevNet sessions at CiscoLive and again, if I can help with any of the content, (before or after the sessions),or if you’d like to provide some guidance, feedback or personal insights of your own please feel free to comment below!
A script would need to be created to pull/update information automatically within CER's database, how would I go about doing this? I know this is an abstract question, but its the best I can do at the moment to explain what it is I am trying to do. I...
Hello, Sorry if this has been posted in the wrong place but I in need of some assistance with getting Finesse call data out of UCCX.Currently we have the UCCX Platform and Finesse, where we can use Cisco Unified Contact Center Express Reporting which...
Hi, I want to store data which wont change over time. In that case, is it mandatory to hit Configuration or DB for every call?. Is there way to store configuration data to application level in UCCX script? Reading huge configuration during every call...
Trying to do the RESTCONF with YANG lab in the DEVNET labs
Trying to access the IOS XE on CSR Recommended Code Always-On Sandbox but I cant find the host/URL for the Sandbox to use in a Postman environment. Lab instructions are out of date.
Hi, I want to modify authenticationMode setting on a phone using updateDevice. I noticed using certification operation value works perfectly but when I try to change the authenticationMode, it doesn't work. I don't get any error but no changes are do...