CryptographyHelperDecrypt Method |
Decrypts a message with AES with a given key and a salt that is encoded as the first 16 bytes of the buffer
Namespace:
MLAPI.NetworkingManagerComponents
Assembly:
MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static byte[] Decrypt(
byte[] encryptedBuffer,
byte[] key
)
Parameters
- encryptedBuffer
- Type: SystemByte
The buffer with the salt - key
- Type: SystemByte
The key to use
Return Value
Type:
ByteThe decrypted byte array
See Also