UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 232 B
import{encrypt as e}from"./encrypt-decrypt.mjs";import t from"node:crypto";const n=n=>{let r=t.randomBytes(32).toString(`hex`);return{secret:r,encryptSecret:e(r,n)}};export{n as default}; //# sourceMappingURL=generate-secret.mjs.map