klyn.cryptography.MessageDigest.update
method
public update(text as String) as MessageDigest:
Description
Appends text to the in-memory digest buffer.
import klyn.cryptography

md = SHA256()
md.update("hel")
md.update("lo")
print(md.digestInfo().hex)
Parameters
  • text Additional UTF-8 text chunk.
Returns
This digest instance. ```klyn import klyn.cryptography md = SHA256() md.update("hel") md.update("lo") print(md.digestInfo().hex) ```