[CODEC-221] HmacUtils.updateHmac calls reset() unnecessarily (original) (raw)

Log inSkip to main contentSkip to sidebar

ASF Jira

Uploaded image for project: 'Commons Codec'

  1. Commons Codec
  2. CODEC-221

XMLWordPrintableJSON

Details

Description

The HmacUtils.updateHmac() methods call reset().
This means that it's not possible to build up a digest using multiple such calls.

The only useful operation that can be performed afterwards is to call one of the Mac.doFinal() methods.

Unfortunately it's probably too late to change this.
However it should at least be documented.

Attachments

Activity

People

Votes:

0 Vote for this issue

Watchers:

0 Start watching this issue

Dates

Created:

17/May/16 23:27

Updated:

19/May/16 15:35

Resolved:

19/May/16 15:34