# Functions You can find documentation for every *public* function of WHY2 below. ## Core ### Crypto | Function | Description | | ---------------------------------------------------- | ------------------------------------------------ | | [`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 | ### Decrypter | Function | Description | | --------------------------------------------------------- | ------------------------------------------------- | | [`why2_decrypt_text`](./core/decrypter/why2_decrypt_text) | Text from will be decrypted with key and returned | ### Encrypter | Function | Description | | --------------------------------------------------------- | ------------------------------------------------- | | [`why2_encrypt_text`](./core/encrypter/why2_encrypt_text) | Text from will be encrypted with key and returned | ### Flags #### Getters | Function | Description | | ----------------------------------------------------------------------------- | --------------------------------------- | | [`why2_get_encryption_separator`](./core/flags/getters/why2_get_encryption_separator) | *This functions doesn't have any description.* | | [`why2_get_key_length`](./core/flags/getters/why2_get_key_length) | *This functions doesn't have any description.* | | [`why2_get_default_flags`](./core/flags/getters/why2_get_default_flags) | This generates why2_input_flags with default values | | [`why2_get_flags`](./core/flags/getters/why2_get_flags) | Returns used flags | | [`why2_no_output`](./core/flags/getters/why2_no_output) | Same as why2_get_default_flags() but for why2_output_flags | | [`why2_get_encryption_operation`](./core/flags/getters/why2_get_encryption_operation) | Returns functions which is used for encryption & decryption | | [`why2_get_flags_changed`](./core/flags/getters/why2_get_flags_changed) | *This functions doesn't have any description.* | | [`why2_get_padding_changed`](./core/flags/getters/why2_get_padding_changed) | *This functions doesn't have any description.* | | [`why2_get_memory_identifier`](./core/flags/getters/why2_get_memory_identifier) | Returns string used in linked list (in memory.c) for identifying nodes when running garbage collector | ## Logger ## Chat