Revision 2bd35bc4
Added by koszko almost 2 years ago
common/signing.js | ||
---|---|---|
1 | 1 |
/** |
2 |
* part of Hachette |
|
3 |
* Functions related to "signing" of data, refactored to a separate file. |
|
2 |
* This file is part of Haketilo. |
|
3 |
* |
|
4 |
* Functions: Operations related to "signing" of data. |
|
4 | 5 |
* |
5 | 6 |
* Copyright (C) 2021 Wojtek Kosior |
6 | 7 |
* Redistribution terms are gathered in the `copyright' file. |
... | ... | |
16 | 17 |
|
17 | 18 |
/* |
18 | 19 |
* In order to make certain data synchronously accessible in certain contexts, |
19 |
* hachette smuggles it in string form in places like cookies, URLs and headers.
|
|
20 |
* Haketilo smuggles it in string form in places like cookies, URLs and headers.
|
|
20 | 21 |
* When using the smuggled data, we first need to make sure it isn't spoofed. |
21 | 22 |
* For that, we use this pseudo-signing mechanism. |
22 | 23 |
* |
Also available in: Unified diff
rename the extension to "Haketilo"