public Digest(algorithm as String, hex as String, base64 as String):
Creates a digest result.
| Parameter | Description |
|---|---|
algorithm | Canonical digest algorithm name. |
hex | Lower-case hexadecimal digest. |
base64 | Standard Base64 digest. |
import klyn.cryptography
digest = Digest("SHA-256", "2cf24d...", "LPJZ...")
print(digest.algorithm)