klyn.cryptography.Mac.update
method
public update(text as String) as Mac:
DescriptionAppends text to the in-memory MAC buffer.
import klyn.cryptography
mac = Hmac(SHA256())
mac.init("secret")
mac.update("hel")
mac.update("lo")
print(mac.doFinal().hex)
ReturnsThis MAC instance. ```klyn import klyn.cryptography mac = Hmac(SHA256()) mac.init("secret") mac.update("hel") mac.update("lo") print(mac.doFinal().hex) ```