public toMap() as Map<String, Object>:
Converts this digest result to a serializable map.
Map containing algorithm, hex and base64. klyn import klyn.cryptography payload = SHA256().digestInfo("hello").toMap() print(payload["hex"])
algorithm
hex
base64
klyn import klyn.cryptography payload = SHA256().digestInfo("hello").toMap() print(payload["hex"])