improve encryption