How to get public key to encrypt mobile or email in "https://dev.abdm.gov.in/cm/v1/apps/generate/otp"

i am using “https://healthidsbx.abdm.gov.in/api/v2/auth/cert” api to get public key but when i encrypt mobile with public key i am getting
{
“error”: {
“code”: 1510,
“message”: “Mobile/Email ‘#Input’ value is invalid.”
}
}

and i am using “https://www.devglan.com/online-tools/rsa-encryption-decryption” website to encrypt

please help me to solve this issue

https://phrsbx.abdm.gov.in/api/v1/phr/public/certificate

can you fetch the public key and encrypted mobile

using “https://www.devglan.com/online-tools/rsa-encryption-decryption” website to encrypt