Home > Language Reference > Classes > StreamCipher

Digest Method

Returns a checksum or a message digest.

Syntax

Public Property Get Digest() As Variant

Remarks

If the encoding/decoding scheme is set to Adler32, CRC-16, CRC-32, or MD5, the Digest property returns the current value of the checksum (or the message digest) computed over all the data that were read from or written to the stream since the last call to the Flush method. Depending on the scheme, it can return one of the following types embedded into a Variant:

SchemeType
Adler32Long
CRC-16Integer
CRC-32Long
MD5String

If the encoding/decoding scheme was not set, or if this scheme does not provide checksum computation, this property returns Empty.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A