Encrypting passwords in config.xml

Hello, can anyone tell me which algorithm passwords are encrypted in config.xml?
For example, the “managerPasswordSecret” field when configuring ldap.
I found information that this is AES-128-ECB, is that true?
Is it possible to choose a different encryption algorithm?

I think the algorithm for Secrets is hard coded to AES/CBC/PKCS5Padding