|
TripleDESPrivacyProviderEncrypt(Byte, Byte, Byte) Method
|
Encrypt scoped PDU using DES encryption protocol
Namespace: GSF.Net.Snmp.SecurityAssembly: GSF.Net (in GSF.Net.dll) Version: 2.4.218-beta
Syntax public static byte[] Encrypt(
byte[] unencryptedData,
byte[] key,
byte[] privacyParameters
)
Public Shared Function Encrypt (
unencryptedData As Byte(),
key As Byte(),
privacyParameters As Byte()
) As Byte()
static member Encrypt :
unencryptedData : byte[] *
key : byte[] *
privacyParameters : byte[] -> byte[]
GSF.Net.Snmp.Security.TripleDESPrivacyProvider.Encrypt = function(unencryptedData, key, privacyParameters);
View SourceParameters
- unencryptedData Byte
- Unencrypted scoped PDU byte array
- key Byte
- Encryption key. Key has to be at least 32 bytes is length
- privacyParameters Byte
- Privacy parameters out buffer. This field will be filled in with information
required to decrypt the information. Output length of this field is 8 bytes and space has to be reserved
in the USM header to store this information
Return Value
ByteEncrypted byte array
Exceptions See Also