Julio López
68ffb41db8
refactor(server): initialize dummy hash with non-zero value ( #3892 )
...
Motivation: avoid making accidental decisions based on all-zeros content
in the future.
While the dummy hash is a non-zero-value slice, that is it is non-empty
(thus not nil), it is still the default value produced by
`make([]byte, salt + hashLength)`, and it is possible to accidentally
compare and have a positive match against a newly initialized slice.
2024-06-05 16:46:29 -07:00
..
2024-05-29 20:31:57 -07:00
2024-03-13 18:29:50 +00:00
2024-02-03 21:44:41 -08:00
2024-05-29 20:31:57 -07:00
2024-05-29 20:31:57 -07:00
2024-05-29 20:31:57 -07:00
2024-05-29 20:31:57 -07:00
2024-04-08 09:52:47 -07:00
2022-07-30 14:13:52 -07:00
2023-08-24 09:38:56 -07:00
2023-01-21 07:37:15 -08:00
2022-08-09 06:07:54 +00:00
2022-11-19 18:39:04 +00:00
2024-05-29 20:31:57 -07:00
2022-08-09 06:07:54 +00:00
2024-05-29 20:31:57 -07:00
2022-01-23 14:56:35 -08:00
2024-05-29 20:31:57 -07:00
2024-05-29 20:31:57 -07:00
2024-04-08 09:52:47 -07:00
2023-04-11 15:58:20 -04:00
2022-07-29 09:31:17 -07:00
2023-04-13 18:58:16 -07:00
2023-07-27 11:30:40 -07:00
2023-10-05 02:45:44 +00:00
2024-05-29 20:31:57 -07:00
2024-03-11 21:47:14 -07:00
2022-08-09 06:07:54 +00:00
2021-12-13 14:25:10 -08:00
2024-04-12 22:59:11 -07:00
2024-02-02 23:34:34 -08:00
2023-12-17 22:21:28 -08:00
2024-04-08 09:52:47 -07:00
2024-05-29 20:31:57 -07:00
2024-04-08 09:52:47 -07:00
2024-05-29 20:31:57 -07:00
2024-05-29 20:31:57 -07:00
2022-05-16 05:28:57 +00:00
2024-03-09 10:39:11 -08:00
2023-12-17 22:21:28 -08:00
2024-04-08 09:52:47 -07:00
2023-06-18 13:26:01 -07:00
2024-02-27 12:30:14 -08:00
2024-05-29 20:31:57 -07:00
2024-02-02 23:34:34 -08:00
2024-04-08 09:52:47 -07:00
2024-05-01 14:50:01 -07:00
2024-05-29 20:31:57 -07:00
2023-09-12 07:37:41 -07:00
2024-04-08 09:52:47 -07:00
2024-05-29 20:31:57 -07:00
2024-04-06 05:10:11 +00:00
2024-04-26 23:30:56 -07:00
2023-02-09 06:47:36 +00:00
2023-06-18 13:26:01 -07:00
2022-11-19 18:39:04 +00:00
2022-09-14 09:48:02 -07:00
2024-02-02 23:34:34 -08:00
2024-05-29 20:31:57 -07:00
2022-10-28 11:02:47 -07:00
2022-11-19 18:39:04 +00:00
2024-05-29 20:31:57 -07:00
2024-05-29 20:31:57 -07:00
2024-05-29 20:31:57 -07:00
2024-06-05 16:46:29 -07:00
2024-04-26 14:47:36 -07:00
2023-10-05 02:45:44 +00:00
2024-04-08 09:52:47 -07:00
2024-05-29 20:31:57 -07:00