prorm API Reference
    Preparing search index...

    Interface PseudonymizationConfig

    interface PseudonymizationConfig {
        secretKey: string;
        store?: StorageMode;
        model?: any;
        algorithm?: string;
    }
    Index
    secretKey: string

    HMAC secret key (must be >= 32 bytes for security)

    store?: StorageMode

    Storage for token↔value mappings

    model?: any

    Database model for storing mappings (required if store='database')

    algorithm?: string

    Algorithm. Default: 'sha256'