Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Set to false to bypass some rules
Protected_Protected_StaticALGORITHM_Identifier for the BCRYPT hashing algorithm.
StaticALGORITHM_Identifier for the MD5 hashing algorithm.
StaticALGORITHM_Identifier for the SHA1 hashing algorithm.
StaticALGORITHM_Identifier for the SHA256 hashing algorithm.
StaticALLOW_Permission flag to allow numeric digits.
StaticALLOW_Permission flag to allow alphabetic letters.
StaticALLOW_Permission flag to allow number values.
StaticALLOW_Permission flag to allow whitespace characters.
StaticALLOW_Permission flag to allow string values.
StaticEVENT_Event name triggered when the property value changes.
StaticEVENT_Event name triggered when the property is deleted.
StaticTRANSFORM_Transformation identifier to convert string to lowercase.
StaticTRANSFORM_Transformation identifier to convert string to uppercase.
StaticTYPEThe string literal type identifier for this property.
Protected_Creates a deep clone of the current property instance, preserving its prototype chain.
A new independent instance of the property.
Compares a raw cleartext string against the stored hashed value. Automatically applies the configured salt and algorithm to the input before comparison.
The raw cleartext string to test.
True if the hashed input matches the stored hash, false otherwise.
Retrieves the string value, optionally applying a casing transformation.
Use TRANSFORM_LCASE or TRANSFORM_UCASE to mutate output case.
The raw or transformed string, or undefined.
Hashes the provided value and stores the hashed result. String length constraints (from StringProperty) are bypassed after hashing.
The raw cleartext string to hash and store.
Whether to mark the property as modified.
The property instance for chaining.
Serializes the property for JSON stringification.
The raw internal value of the property.
Retrieves the current value of the property, or its default value if currently undefined.
An optional transformation function applied to the value before returning it.
The raw or transformed property value.
A specialized string property that automatically hashes incoming values before storing them. Useful for storing passwords, secret tokens, or generating unique fingerprints. Values set on this property are one-way hashed and cannot be reversed.
Example