Nitratine Blog Feed

Remove Columns in a CSV File With Python
Need to remove columns from a large CSV file? Simply provide this script with the indexes of columns you want to be deleted and it will create a copy CSV file with those columns removed.
Read More →
New Zealand Cyber Security Challenge 2019 Round 0 Solutions
These are my solutions to the challenges I solved in the New Zealand Cyber Security Challenge 2019 Round 0.
Read More →
XOR Python Byte Strings
This snippet shows you how to can simply XOR two Python byte strings using a function to produce another byte string.
Read More →
How to Import a PyQt5 .ui File in a Python GUI
In this tutorial, I explain how to import .ui files created using PyQt5's designer tool in Python and how to connect widgets from the GUI to methods in Python.
Read More →
How to Create Dialogs in Python
In this post, I demonstrate dialogs that are provided in the Python standard library by showing you how to use them and what they look like.
Read More →
How To Hash Passwords In Python
In this tutorial, I cover the usage of PBKDF2_HMAC to encrypt passwords with a salt using Python.
Read More →
Fix: 'python' is not recognized as an internal or external command
This is tutorial on how to fix the classic error, 'python' is not recognized as an internal or external command, operable program or batch file, when trying to call Python from a terminal
Read More →
Python Encryption and Decryption with PyCryptodome
PyCryptodome is a fork of PyCrypto that brings enhancements on top of the now unmaintained PyCrypto library. This tutorial demonstrates using the library by encrypting strings and files using AES.
Read More →
JavaScript Date Methods Return Values
This is a tool to help you quickly look at function return types of a JavaScript date object and change the date to see what happens
Read More →
How to Hash Files in Python
Hashing files allows us to generate a string/byte sequence that can help identify a file. This can then be used by comparing the hashes of two or more files to see if these files are the same as well as other applications.
Read More →