Rsa.EncodeMsgIso9796 Method
Encode a message using ISO/IEC 9796-1 formatting.
Syntax
[C#]
public static byte[] EncodeMsgIso9796(
byte[] message,
int keyBits
)
[VB.NET]
Public Shared Function EncodeMsgIso9796 ( _
message As Byte(), _
keyBits As Integer _
) As Byte()
Parameters
- message
- message to be encoded
- keyBits
- exact length of key in bits
Return Value
Padded message block ready for signing or an empty array on error
Remarks
The output block will be the same size as the key rounded up to the next whole byte. The message must be no longer than half the key length.
See Also
VB6/C equivalent: RSA_EncodeMsg
[Contents] [Index]