encrypt repository