Using RSA, you can encrypt with the private key, which can then only be decrypted with the public key (or private key).

However, the encryption is actually done in reverse, and it's called "Signing" instead of encrypting. Decrypting the signed data with the public key is called "Verifying".

Unfortunately, ElRSAPublicKeyCrypto does not support this functionality. Instead, you can only do "Detached" signing and "Verifying". Lookup ElRSAPublicKeyCrypto.SignDetached and ElRSAPublicKeyCrypto.VerifyDetached for more information..

You can still decrypt (verify) data using the public key in SB, but you'll have to use SBRSA.Decrypt, which is a lower level function.

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.