klyn.cryptography.Mac.update
method
public update(text as String) as Mac:
Description

Appends text to the in-memory MAC buffer.

Parameters
  • text Additional UTF-8 text chunk.
Returns

This MAC instance. klyn import klyn.cryptography mac = Hmac(SHA256()) mac.init("secret") mac.update("hel") mac.update("lo") print(mac.doFinal().hex)