Skip to main content

HashAlg

Represents different hash algorithms.

  • Full name: \Bloock\Entity\Authenticity\HashAlg

Constants

ConstantVisibilityTypeValue
SHA_256public"SHA_256"
KECCAK_256public"KECCAK_256"
POSEIDONpublic"POSEIDON"
NONEpublic"NONE"
UNRECOGNIZEDpublic"UNRECOGNIZED"

Methods

fromProto

public static fromProto(int $alg): string
  • This method is static.

Parameters:

ParameterTypeDescription
$algint

toProto

public static toProto(string $type): int
  • This method is static.

Parameters:

ParameterTypeDescription
$typestring


Automatically generated on 2024-04-02