Click or drag to resize

EncryptionManagerEncryptWithPublicKey Method

Encrypts the plainValue with a public key

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.6.33415 (22.09.2025)+55d4baaf8f17ebe942fa8931c5994288899c2371
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