klyn.cryptography.Digest.Digest
constructor
public Digest(algorithm as String, hex as String, base64 as String):
Description

Creates a digest result.

Parameters
ParameterDescription
algorithmCanonical digest algorithm name.
hexLower-case hexadecimal digest.
base64Standard Base64 digest.
Example
import klyn.cryptography

digest = Digest("SHA-256", "2cf24d...", "LPJZ...")
print(digest.algorithm)