- Wed Sep 28, 2016 10:07 pm
#55846
So what's actually taking so long is I used the password authentication option of the broker and I encrypted both the stored password and username using a slow hashing function. Looking at the bcrypt module, I see that it's using the default of 10 rounds. It's obviously overkill on a Beaglebone Black as the whole authentication process takes about 6 seconds.
I'm going to look into other security solutions for the connection. At this time, I only know password authentication well so that's what I went with and I simply followed the provided examples for the broker and then added the encryption. But I'm not sure this was a good choice.