With couple of classes you can encrypt/hash/sign. All classes are well separated from each other. You can take only what you need.
You can easily create your own fast TCP server with your own protocols, just look at trunk/lib/libDenomCommon/src/org/denom/net.
Library contains many useful and powerful classes for different tasks.