Click or drag to resize

CryptoUtilsEncryptRsa Method

Encrypts data with RSA public key.

Namespace: KeeperSecurity.Utils
Assembly: KeeperSdk (in KeeperSdk.dll) Version: 1.0.5
Syntax
C#
public static byte[] EncryptRsa(
	byte[] data,
	RsaKeyParameters publicKey
)

Parameters

data  Byte
Plain data
publicKey  RsaKeyParameters
RSA public key.

Return Value

Byte
Encrypted data.
Remarks
Uses PKCS1 padding.
See Also