The distinction between dharani and mantra is often a difficult one particular to make. We could say that each one mantras are dharanis but that not all dharanis are mantras. Mantras do tend to be shorter. Both of those have a tendency to contain many unintelligible phonic fragments for example https://www.instagram.com/tantramantraaurvigyaan/