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:
| Scheme | Type |
| Adler32 | Long |
| CRC-16 | Integer |
| CRC-32 | Long |
| MD5 | String |
If the encoding/decoding scheme was not set, or if this scheme does not provide checksum computation, this property returns Empty.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |