Click or drag to resize

CryptographyHelperDecryptStream Method

[This is preliminary documentation and is subject to change.]

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.Cryptography
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static Stream DecryptStream(
	Stream encryptedStream,
	uint clientId
)
Request Example View Source

Parameters

encryptedStream
Type: System.IOStream
The encrypted stream
clientId
Type: SystemUInt32
The clientId whose AES key to use

Return Value

Type: Stream
The decrypted stream
See Also