digest property

HashAlgorithm get digest

Implementation

cryptography.HashAlgorithm get digest {
  switch (this) {
    case HashAlgorithm.sha256:
      return cryptography.Sha256();
    case HashAlgorithm.sha512:
      return cryptography.Sha512();
  }
}