CryptoSys PKI Pro Manual

Rsa.EncodeMsgForEncryption Method

Encode a message for encryption.

Syntax

[C#]
public static byte[] EncodeMsgForEncryption(
	int keyBytes,
	byte[] message,
	Rsa.EME method
)
[VB.NET]
Public Shared Function EncodeMsgForEncryption ( _
	keyBytes As Integer, _
	message As Byte(), _
	method As Rsa.EME _
) As Byte()

Parameters

keyBytes
Number of bytes in the key
message
Message to be encoded
method
Type: Rsa.EME
Encoding method to use

Return Value

Encoded message block

See Also

VB6/C equivalent: RSA_EncodeMsg

[Contents] [Index]

[PREV: Rsa.EncodeDigestForSignature Method...]   [Contents]   [Index]   
   [NEXT: Rsa.EncodeMsgForSignature Method...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.