HashAlgorithm

enum HashAlgorithm : ProtocolMessageEnum
Specifies well-known hash algorithms.
Protobuf enum elide.std.HashAlgorithm

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
No hash algorithm was/is active.
IDENTITY = 0;
Link copied to clipboard
val MD5_VALUE: Int = 1
Algorithm: MD5.
MD5 = 1;
Link copied to clipboard
val SHA1_VALUE: Int = 2
Algorithm: SHA1.
SHA1 = 2;
Link copied to clipboard
val SHA256_VALUE: Int = 4
Algorithm: SHA-256.
SHA256 = 4;
Link copied to clipboard
val SHA2_VALUE: Int = 3
Algorithm: SHA2.
SHA2 = 3;
Link copied to clipboard
val SHA384_VALUE: Int = 5
Algorithm: SHA-384.
SHA384 = 5;
Link copied to clipboard
Algorithm: SHA3-224.
SHA3_224 = 7;
Link copied to clipboard
Algorithm: SHA3-256.
SHA3_256 = 8;
Link copied to clipboard
Algorithm: SHA3-512.
SHA3_512 = 9;
Link copied to clipboard
val SHA512_VALUE: Int = 6
Algorithm: SHA-512.
SHA512 = 6;

Functions

Link copied to clipboard
open fun forNumber(value: Int): HashAlgorithm
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<HashAlgorithm>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): HashAlgorithm
open fun valueOf(value: Int): HashAlgorithm

open fun valueOf(name: String): HashAlgorithm

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.