By encrypting with the public key given during the AsymmetricEncryption instantiation, and then encoding the encrypted data as a base 64 string, this inversion control method handles the request to encrypt the specified plain text.

Name Description
OnEncrypt(byte[]) By encrypting with the public key given during the AsymmetricEncryption instantiation, this inversion control method handles the request to encrypt the specified plain data.
OnEncrypt(string) By encrypting with the public key given during the AsymmetricEncryption instantiation, and then encoding the encrypted data as a base 64 string, this inversion control method handles the request to encrypt the specified plain text.