silverwind
1e6fa57acb
Use single shared random string generation function ( #15741 )
...
* Use single shared random string generation function
- Replace 3 functions that do the same with 1 shared one
- Use crypto/rand over math/rand for a stronger RNG
- Output only alphanumerical for URL compatibilty
Fixes : #15536
* use const string method
* Update modules/avatar/avatar.go
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: a1012112796 <1012112796@qq.com>
2021-05-10 07:45:17 +01:00
..
2021-05-06 05:12:50 +02:00
2021-05-10 07:45:17 +01:00
2021-03-14 19:52:12 +01:00
2021-02-19 22:36:43 +01:00
2021-05-01 14:17:02 +02:00
2021-03-14 19:52:12 +01:00
2021-03-23 00:09:51 +08:00
2021-04-03 18:19:59 +02:00
2021-04-28 12:35:06 +00:00
2021-04-28 12:35:06 +00:00
2021-04-09 09:40:34 +02:00
2021-02-04 11:23:46 -06:00
2021-03-14 19:52:12 +01:00
2021-04-30 20:08:46 +02:00
2021-04-30 20:08:46 +02:00
2020-09-11 09:25:06 +01:00
2021-04-10 07:12:38 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-04-19 18:25:08 -04:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-04-09 09:40:34 +02:00
2021-04-15 19:34:43 +02:00
2021-03-14 19:52:12 +01:00
2021-04-08 13:53:59 +02:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-04-09 09:40:34 +02:00
2021-02-04 11:23:46 -06:00
2021-04-05 08:41:22 +01:00
2021-03-14 19:52:12 +01:00
2021-04-10 16:49:10 -04:00
2021-05-07 00:17:43 +01:00
2021-05-07 00:17:43 +01:00
2021-03-14 19:52:12 +01:00
2021-01-02 00:33:27 +08:00
2021-04-10 16:49:10 -04:00
2021-04-28 12:35:06 +00:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2020-09-20 00:44:55 +08:00
2021-05-08 20:19:42 +01:00
2021-05-08 20:19:42 +01:00
2021-03-23 00:09:51 +08:00
2020-10-14 21:07:51 +08:00
2020-10-12 20:01:57 -04:00
2021-04-19 18:25:08 -04:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-04-15 18:53:57 +02:00
2021-04-08 18:25:57 -04:00
2020-11-28 17:52:29 +02:00
2021-01-24 16:23:05 +01:00
2021-01-24 16:23:05 +01:00
2020-09-20 00:44:55 +08:00
2021-04-09 09:40:34 +02:00
2021-03-14 19:52:12 +01:00
2021-03-23 23:10:19 +00:00
2021-03-27 15:55:40 +01:00
2021-03-14 19:52:12 +01:00
2021-04-30 21:10:39 +02:00
2021-04-15 11:03:11 +01:00
2021-04-15 11:03:11 +01:00
2021-05-01 22:51:03 -04:00
2021-01-02 10:07:43 +08:00
2021-01-20 20:36:55 +00:00
2021-03-14 19:52:12 +01:00
2020-10-12 20:01:57 -04:00
2021-03-14 19:52:12 +01:00
2021-03-24 19:27:22 +01:00
2021-03-14 19:52:12 +01:00
2021-05-10 07:45:17 +01:00
2021-03-14 19:52:12 +01:00
2021-05-10 07:45:17 +01:00
2021-03-14 19:52:12 +01:00
2020-11-27 21:42:08 -05:00
2021-04-17 00:22:25 +02:00
2020-10-12 20:01:57 -04:00
2021-03-14 19:52:12 +01:00
2021-04-09 09:40:34 +02:00
2021-04-10 07:12:38 +01:00
2021-04-09 09:40:34 +02:00
2021-01-24 16:23:05 +01:00
2021-01-24 16:23:05 +01:00
2021-03-14 19:52:12 +01:00
2021-05-10 07:45:17 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2021-03-14 19:52:12 +01:00
2020-11-27 21:42:08 -05:00