I am trying to apply client side encryption, for this using AWS KMS I created Asymmetric key. I downloaded the public key and then from the frontend (I am using react). I am