Photo by Alexander Sinn on Unsplash

Bit Twiddling in Python

One thing I love about Python is that I don’t have to do too much C coding anymore. While I still use C to implement cryptography methods that need to run fast, most of the time I just implement my code in Python. If I need the program to run as fast as C, there’s always Golang. And with Python, I can do all the normal bit twiddling methods that I would normally do in C.

Bit shifting

--

--

--

This publication brings together interesting articles related to cyber security.

Recommended from Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Prof Bill Buchanan OBE

Prof Bill Buchanan OBE

Professor Cryptography. Serial innovator. Believer in fairness, justice & freedom. EU Citizen in heart. Living by the sea. Old World Breaker. New World Creator.

More from Medium