Posts

Showing posts from March 18, 2019

Naïve RSA decryption in Python

Image
1 $begingroup$ I am making a code with basic RSA encryption/decryption. My professor wants me to speed up this function but it is already so simple and I am lost. Any ideas? def decrypt(kenc,d,n): kdec=(kenc**d)%n return kdec python performance homework cryptography share | improve this question edited 2 hours ago 200_success 130k 17 154 419 asked 7 hours ago Chad T Chad T 21 1

Wifi range extender with Raspberry Pi and Rasbmc

Image
1 What I want to achieve is to extend the range of my Wifi to another room. I've got a router, a Raspberry pi connected to this router through a UTP cable and i've got a Wifi USB stick in the RPi. What I would like to achieve is to be able to connect to the Wifi and have internet access in either room and also be able to connect to the RPi as well (I.E. ssh or webserver). I've been following some setups and I've almost achieved what I want to do. I can connect to the wireless and have internet access, however I'm unable to access my RPi. The RPi itself also does not have a internet connection. How can I fix this issue? What I'm executing to get a bridged internet connection is: brctl addbr br0 brctl addif br0 eth0 wlan0 ip link set up dev br0 brctl addif br0 wlan0 hostapd /etc/ho