klyn.cryptography.Digest.toMap
method
public toMap() as Map<String, Object>:
Description

Converts this digest result to a serializable map.

Returns

Map containing algorithm, hex and base64. klyn import klyn.cryptography payload = SHA256().digestInfo("hello").toMap() print(payload["hex"])