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]
Public Shared Function EncodeMsgForEncryption (
   keyBytes As Integer,
   message As Byte(),
   method As Rsa.EME 
) As Byte()

Parameters

keyBytes  Int32
Number of bytes in the key
message  Byte
Message to be encoded
method  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-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-17T11:18:15Z.