Click or drag to resize

EncryptionManagerEncryptWithPublicKey Method

Encrypts the plainValue with a public key

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.3.0.33526 (08.10.2025)+e4d6269d444890d28afbdf39a4add0d0ad0df4f2
Syntax
C#
public byte[] EncryptWithPublicKey(
	byte[] publicKey,
	byte[] plainValue
)

Parameters

publicKey
Type: SystemByte
The public key
plainValue
Type: SystemByte
The value to encrypt

Return Value

Type: Byte
See Also