This is a educational purposed implementation of the Onion Router specification for encrypted/annonymous conversation between two parties.
Do not use this in production (as it is simplifying a lot of stuff, despite I know you will ignore this)
If you use IntelliJ, you can just paste the implementation into a new scratch and run it.
Let me know in the comments if you have anything that could be improved (without adding too much complexity to it)