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.

Example
import klyn.cryptography

payload = SHA256().digestInfo("hello").toMap()
print(payload["hex"])