Skip to content

Commit

Permalink
aes-kw: fix cleaning out output buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
dchest committed Apr 2, 2020
1 parent 87be4bc commit 452d1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aes-kw/aes-kw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class AESKW {
*/
clean(): this {
wipe(this._inputBuffer);
wipe(this._inputBuffer);
wipe(this._outputBuffer);
this._cipher.clean();
return this;
}
Expand Down

0 comments on commit 452d1cc

Please sign in to comment.