CryptographyHelperGenerateSHA1Hash Method (Stream)

RAGE Plugin Hook Documentation

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

Generates a SHA-1 (Secure Hash Algorithm) checksum from the specified stream.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static string GenerateSHA1Hash(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The stream to generate the checksum from. Reading starts from the current position.

Return Value

Type: String
Returns the 40 byte checksum of the data in the specified stream.
See Also

Reference