It encrypts a string by using parallel java library and java thread class