Skip to main content

HashingIntentScope

enum HashingIntentScope : Enum<HashingIntentScope>

A 1-byte domain separator for hashing Object ID in IOTA. It starts from 0xf0 to ensure no hashing collision for any ObjectID vs IotaAddress which is derived as the hash of flag || pubkey.

Entries

CHILD_OBJECT_IDCHILD_OBJECT_ID
REGULAR_OBJECT_IDREGULAR_OBJECT_ID

Properties

NameSummary
entriesval entries: EnumEntries<HashingIntentScope>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
nameval name: String
ordinalval ordinal: Int

Functions

NameSummary
valueOffun valueOf(value: String): HashingIntentScope
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.)
valuesfun values(): Array<HashingIntentScope>
Returns an array containing the constants of this enum type, in the order they're declared.

CHILD_OBJECT_ID

CHILD_OBJECT_ID

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int

REGULAR_OBJECT_ID

REGULAR_OBJECT_ID

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int