removed unused encryption-related methods