Documentation
    Preparing search index...

    Interface HashPropertyType

    Configuration dictionary for instantiating a HashProperty. Extends StringPropertyType to add hashing capabilities.

    Parameter Type Description Default
    algorithm HashPropertyAlgos The cryptographic hashing algorithm to use. ALGORITHM_SHA256
    salt string An optional salt string appended to the value before hashing. ""
    prefixed boolean If true, prepends the algorithm name to the output (e.g. md5-abc...). false
    interface HashPropertyType {
        algorithm?: string;
        allowDigits?: boolean;
        allowLetters?: boolean;
        allowPattern?: string;
        allowSpaces?: boolean;
        defaultValue?: any;
        fullSearch?: boolean;
        htmlType?: PropertyHTMLType;
        id?: string;
        mandatory?: boolean;
        maxLength?: number;
        minLength?: number;
        name: string;
        onChange?: (dao: DataObjectClass<any>) => DataObjectClass<any>;
        parent?: DataObjectClass<any>;
        prefixed?: boolean;
        protected?: boolean;
        salt?: string;
        type?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    algorithm?: string
    allowDigits?: boolean
    allowLetters?: boolean
    allowPattern?: string
    allowSpaces?: boolean
    defaultValue?: any
    fullSearch?: boolean
    htmlType?: PropertyHTMLType
    id?: string
    mandatory?: boolean
    maxLength?: number
    minLength?: number
    name: string
    onChange?: (dao: DataObjectClass<any>) => DataObjectClass<any>
    parent?: DataObjectClass<any>
    prefixed?: boolean
    protected?: boolean
    salt?: string
    type?: string