Sinisterly
python cryptography - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Python (https://sinister.ly/Forum-Python)
+--- Thread: python cryptography (/Thread-python-cryptography)



python cryptography - dark_bit - 07-24-2017

i am on python3 and i am trying to create a crypto-algorithm using hex, in the point i am working right now i need to convert int numbers to string characters and ascii characters, so it will work;
FOR EXAMPLE--->
6484955556484955575249494848495357565755575349495449495557524949484849495557524949484849535

AND NOW I WANT TO TURN THIS NUMBERS INTO CHARACTERS.

also notice me if you can decrypt my message...
THANKS


RE: python cryptography - Electro_dragon21222 - 01-02-2022

I made an project on the AES encryption using python and done all the operation you mentioned above, You can reply to this thread if you want the code !!! Smile


RE: python cryptography - oliva_george1 - 01-22-2022

https://github.com/Saadkhan041/Black-Encrypto


RE: python cryptography - grandmothered - 01-26-2022

Ok I have to take a shit but I'll help you afterwards.


EDIT: Ok I'm back. I just dumped an arm's worth. If you want my advice, you don't want to eat as many fibers as they say because it'll feel like Moses is splitting your anus instead of the ocean.

Anyway, what you want are the functions ord() and chr(). For instance, if you want to find the ASCII value for the character "H" you'd do ord('H'). If you want to convert the ASCII value to a string character then chr(72). Cheers.