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
- Several public functions are renamed to be more appropriate:
89
+
- Function `encrypt()` changed to `encode()`
90
+
- Function `decrypt()` changed to `decode()`
91
+
- Function `encryptHex()` changed to `encodeHex()`
92
+
- Function `decryptHex()` changed to `decodeHex()`
93
+
94
+
Hashids was designed to encode integers, primary ids at most. Hashids is the wrong algorithm to encrypt sensitive data. So to encourage more appropriate use, `encrypt/decrypt` is being "downgraded" to `encode/decode`.
95
+
96
+
- Version tag added: `1.0`
97
+
-`README.md` updated
98
+
99
+
84
100
All credit for Hashids goes to Ivan Akimov (@ivanakimov), thanks to for making it!
0 commit comments