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