MD5Digest.Clear

From Xojo Documentation

Method

MD5Digest.Clear()

Supported for all project types and targets.

Resets the MD5Digest object so that you can start with a new data stream.

Sample Code

The following example calls Clear after the MD5Digest instance processes a string.

Var m As New MD5Digest
Var s As String

m.Process("Hello world")
s = m.Value

Label1.Value = s
m.Clear

m.Process("Hello world?")
s = m.value
Label2.Value = s