Crypto TypeORM
    Preparing search index...

    Function createColumnCodec

    • Validate the key and derive the encryption subkey.

      Parameters

      Returns ColumnCodec

      If the key is not a 64-character hex string.

      const codec = createColumnCodec({ key: process.env.KEY! });