I am doing on my project and there is about port knocking. I have 3 files that separated in server side and client. In the server contains : portknocking server as a daemon and configuration file [contains sequence of port that must be satisfied and many other configuration detail] In the client contains : portknocking client.
Is there possible to encrypt sequence port number in file configuration using RSA..If so,, how to do that??
thank you
PS: I am running daemon at server[it reads file configuration] and then I run program on client and specify sequence port number [if port number sequence is same with configuration file then it is connected]..