prorm API Reference
    Preparing search index...

    Function configureFieldEncryption

    • Configure the global encryption key. Call once at app startup before any encrypted models are used.

      Parameters

      • key: string | Buffer<ArrayBufferLike>

        A 32-byte key as a hex string (64 hex chars) or raw Buffer.

      Returns void