Algorithm/encryption used in secret_data for otp

Hi peoples,

I am trying to migrate existing OTP code from my database into keycloak. Currently the key stored in my database does not have any encryption or encoding applied, however in Keycloak, I noticed that the OTP key is in a different format looking at the secret_data column of the CREDENTIAL table, for example: {“value”: “1wLkKThhSxoirVo08MCT”}

Can anyone tell what algorithm is used to populate in this field? I tried to convert my string to base64 but without success.

Thanks for your help