Table of Contents

Method Hash

Namespace
Innova.Data.File
Assembly
Innova.Data.dll

Hash(byte[])

Calculate final hash for the content which has been written or read to the target stream so far.

public byte[] Hash(byte[] passphraseBytes)

Parameters

passphraseBytes byte[]

Additional secret bytes not written to the stream which should be used to calculate the hash.

Returns

byte[]

The hash value

Hash()

Calculate final hash for the content which has been written or read to the target stream so far.

public byte[] Hash()

Returns

byte[]

The hash value

Remarks

Consider using the overloaded method which takes a passphrase if you want an additional factor other than just the stream data.