HF RL Explorer

I want the filestack-js package to export server-side security helpers as pure functions from the top-level…

I want the filestack-js package to export server-side security helpers as pure functions from the top-level…: a task in MiMo-V2.6-Code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). In Node, getSecurity should validate the policy options, JSON-stringify the policy object as provided, base64-encode…

The task

In Node, `getSecurity` should validate the policy options, JSON-stringify the policy object as provided, base64-encode that JSON into `policy`, then compute `signature` as the lowercase hex HMAC-SHA256 of the base64 policy using `appSecret`. For `getSecurity({ expiry: 253381964415 }, "abc123")`, it should return `{…

Part of openmodelai/MiMo-V2.6-Code.