Problem with registered in custom API user

The problem is that the password is being hashed somewhere internally.

I have spent 2 days looking for an answer to this.

Here are some things that I have realized although I have not found an answer either:
-The password is hashed and encrypted but it is not clear which Strapi service is providing this or where to find it.
-There is something besides entityService which supposedly automatically hashes the password.

I have tried bcrypt, authutils,

The most recent thing I tried was
const password = await strapi.service("admin::auth").hashPassword("testtest");

I can’t seem to get it to work although everything else works fine.