This is a dummy program and was developed to find a way to get encrypted communication between a server written in PHP and a client written in Node.js. It is far from being optimal and is more like a prove of concept.
To use it you need to create a openssl (private-public) key-pair.