Convert JSON to encrypted and url-safe base62 string
Convenience over security
This package is made for usage with image resizing "cloud" function, not for security.
const parse stringify hash = 'secret' const source = width: 1000 format: "jpeg" const encrypted = // UqOw6x3eYV5aM3Oo4PV69kAQWud9uyuUa0pVQjxO6Om const decrypted = // { width: 1000, format: "jpeg" } // default length is 32 // 3958a406c137a50653c0ffc71433aaf7 // 3958a406c137a506 // a31084b4e444c6fde34e4c6ac442491adeae // a31084b4e444c6fde34e4c6ac442491adeae0def5b