I am trying to start learning about writing encryption algorithms, therefore, using python, I am trying to manipulate data to a binary level, so I can add bits to the end of the data, and also manipulate to obscure the data.
I am not new to programming. I'm actually a programmer, but I'm relatively new to python, so I'm struggling a bit.
can someone show me the best way to manipulate a string in python to the binary level (or recommend how I should approach this). I examined a number of issues:
Convert string to binary in python
Python binary data manipulation
Convert binary to ASCII and vice versa
But all this is not what I am looking for, and I do not know enough python to be able to choose what I need. can someone please help me with the details (if you use a function, please explain what it is for me, for example ord ())
source
share