You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oliviertassinari
changed the title
[license] Use a simpler checksum for the license key
[x-license] Use a simpler checksum for the license key
Dec 25, 2024
Summary 💡
Using md5 to perform a checksum on the license key feels overkill.
Examples 🌈
Out of this license key:
61628ce74db2c1b62783a6d438593bc5Tz1NVUktRG9jLEU9MTY4MzQ0NzgyMTI4NCxTPXByZW1pdW0sTE09c3Vic2NyaXB0aW9uLEtWPTI=
we have
61628ce74db2c1b62783a6d438593bc5
that is the md5 checksum.We could replace this with a simpler version:
(source) which would turn the license key into:
728701898Tz1NVUktRG9jLEU9MTY4MzQ0NzgyMTI4NCxTPXByZW1pdW0sTE09c3Vic2NyaXB0aW9uLEtWPTI=
saving 0.5 kB gzip (from removing md5.js) and 23 characters in the license key.
Motivation 🔦
DX & UX
Order ID 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: