I want to decrypt some encrypted RSA payload at the anchor program. So I've tried to cargo add
some RSA libraries such as rsa
, ring
, and openssl
. But when I tried to build the anchor, it all failed. I think it's not supported for solana program. Is there a way to build these libraries for solana/anchor? How could I use RSA at the program?
↧
How could I use any rust RSA crate at anchor for encrypt/decrypt?
↧