move crypto require to utils