Skip to main content

HashingIntentScope

type 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`.

type HashingIntentScope uint
const (
HashingIntentScopeChildObjectId HashingIntentScope = 1
HashingIntentScopeRegularObjectId HashingIntentScope = 2
)