improvements to truecrypt wrapper, removed dependency on random source generator