added decrypt for cyrptostream, currenlty broken