converting thrcypt.thread to be completely generic tcrypt wrapper, implementing in protected. need a way to pass random state into sjcl tho