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