Category : c++

I am a 20 year old Jamaican youth. I want to know, would anyone be interested in being my IT/Coding mentor? I am known for my relaiblity and efficentcy. I willing to listen and learn your teachings and wisdom. While also working on any task given or helping you with anything I can. I am ..

Read more

I need to take the RSA PSS signatures of a message generated from python and validate in .NET But validation in .NET fails. I have generated the RSA key pair using the following command: openssl req -x509 -nodes -newkey rsa:4096 -keyout /tmp/certs/private.pem -out /tmp/certs/public.pem -days 365 python code from cryptography import x509 from cryptography.exceptions import ..

Read more

I’m developing a Winform application. I want to run python script from c# via command prompt (i’m using System.Diagnostics.Process class) I have a function to run python script that need to pass a python script file name. public void Run(string cmd) { Process p = new Process() { StartInfo = new ProcessStartInfo() { FileName = ..

Read more

I’m trying to connect to a MQTT brooker to get data from my iot device. For that, I’m basing myself on an exisitng python library that does exactly that with the exact brooker i need (user_id and key are provided before with and HTTP API authentication) : def __init__ mqtt_pass = generate_mqtt_password(user_id=self._cloud_creds.user_id, key=self._cloud_creds.key) self._mqtt_client = ..

Read more