diff options
| author | Benedict <benedict@0xb8000.de> | 2016-08-13 00:56:06 +0200 |
|---|---|---|
| committer | Benedict <benedict@0xb8000.de> | 2017-02-21 13:00:25 +0100 |
| commit | f48cae2dcd5ff60c678484cd213881cc90722d41 (patch) | |
| tree | 9a63789c89dc0a6494950ee2cab7054ca8c7f960 /lib/lib3.h | |
| parent | b2aa636bfee0c4a7f607eaad06803cd7c42d8214 (diff) | |
set3, completed task 23
Diffstat (limited to 'lib/lib3.h')
| -rw-r--r-- | lib/lib3.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -23,14 +23,14 @@ struct mt_19937_state { unsigned int index; }; -struct mt_19937_state __global_mt_19937; - char *challenge17_encrypt(int *length); int cbc_padding_oracle(char *encrypted, int length); int aes_ctr(char *in, int length_in, char *out, char *string_key, char *nonce); -void mt_19937_seed(unsigned int seed); -int mt_19937(); -int mt_19937_timestamp_orcale(); +void mt_19937_seed(unsigned int seed, struct mt_19937_state *mt_state); +unsigned int mt_19937(struct mt_19937_state *mt_state); +unsigned int mt_19937_timestamp_orcale(struct mt_19937_state *mt_state); void mt_19937_brute_force_timestamp(); +int unshift_left_xor(int number, int shifts, unsigned int mask); +int unshift_right_xor(int number, int shifts); #endif |
