removed markdown extension from URLs
This commit is contained in:
parent
9a90ac1a85
commit
3ebb5a08ec
@ -29,7 +29,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
| | |
|
||||
| ------------------ | -------------------------------------------------------- |
|
||||
| **Return type** | [`why2_bool`](../../../../types/core/flags/why2_bool.md) |
|
||||
| **Return type** | [`why2_bool`](../../../../types/core/flags/why2_bool) |
|
||||
| **Header comment** | `WRITE CRYPTO-SECURE RANDOM NUMBER INTO dest` |
|
||||
| **Added in commit** | [`f95608f52a0a82b3a8c005c7f8dad0b9cf93202a`](https://github.com/ENGO150/WHY2/commit/f95608f52a0a82b3a8c005c7f8dad0b9cf93202a) |
|
||||
|
||||
|
@ -34,7 +34,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
## Description
|
||||
|
||||
Function takes `input` parameter and divides it into segments of [`WHY2_SUM_SEGMENT_SIZE`](../../../../macros/core/crypto/why2_sum_segment_size.md). Each segment does some xoring, math using [`WHY2_SUM_BASE_PRIME`](../../../../macros/core/crypto/why2_sum_base_prime.md) and modulates each segment with [`WHY2_SUM_MOD_PRIME`](../../../../macros/core/crypto/why2_sum_mod_prime.md). The result is then added together and returned.
|
||||
Function takes `input` parameter and divides it into segments of [`WHY2_SUM_SEGMENT_SIZE`](../../../../macros/core/crypto/why2_sum_segment_size). Each segment does some xoring, math using [`WHY2_SUM_BASE_PRIME`](../../../../macros/core/crypto/why2_sum_base_prime) and modulates each segment with [`WHY2_SUM_MOD_PRIME`](../../../../macros/core/crypto/why2_sum_mod_prime). The result is then added together and returned.
|
||||
|
||||
Output value grows rapidly with increasing `input` length, but unless you are using enormously large keys, nothing should overflow. Function was tested with lengths up to 4096 chars and output was only about 0,0000014 % of the `ULL` range.
|
||||
|
||||
|
@ -26,10 +26,10 @@ You can find documentation for every *public* function of WHY2 below.
|
||||
|
||||
| Function | Description |
|
||||
| ------------------------------------------------------- | ------------------------------------------------ |
|
||||
| [`why2_sum_segment`](./core/crypto/why2_sum_segment.md) | Calculate SUM++ for input; Used for padding seed |
|
||||
| [`why2_random`](./core/crypto/why2_random.md) | Write crypto-secure random number into dest |
|
||||
| [`why2_seed_random`](./core/crypto/why2_seed_random.md) | Seed why2_seeded_random output |
|
||||
| [`why2_seeded_random`](./core/crypto/why2_seeded_random.md) | GENERATE RANDOM NUMBER BASED ON SEED PASSED IN why2_seed_random |
|
||||
| [`why2_sum_segment`](./core/crypto/why2_sum_segment) | Calculate SUM++ for input; Used for padding seed |
|
||||
| [`why2_random`](./core/crypto/why2_random) | Write crypto-secure random number into dest |
|
||||
| [`why2_seed_random`](./core/crypto/why2_seed_random) | Seed why2_seeded_random output |
|
||||
| [`why2_seeded_random`](./core/crypto/why2_seeded_random) | GENERATE RANDOM NUMBER BASED ON SEED PASSED IN why2_seed_random |
|
||||
|
||||
## Logger
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user