Changeset 130b818 in comparacioncriptosistemas for testVarieties/hash.h
- Timestamp:
- Jan 7, 2016, 9:58:41 AM (8 years ago)
- Branches:
- master, interfaz
- Children:
- eeabb41
- Parents:
- 1404527
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
testVarieties/hash.h
rb939736 r130b818 6 6 7 7 namespace hash_nm { 8 block512_t hash(char *buf, size_t size, hash_mode_t mode = hm512); 8 9 /** 10 * @brief Funcion hash GOST 34.11-2012 (stribog) 11 * 12 * Esta función hash se encuentra en la última actualización del estándar ruso. 13 * 14 * @param buf 15 * @param size 16 * @param mode 17 * @return hash 18 */ 19 block512_t hash(char *buf, size_t size, hash_mode_t mode = hm512); 20 21 /** 22 * @brief Prepara la tabla para realizar cálculos de la función hash 23 * 24 * Esta función debe ejecutarse para que se pueda utilizar el algoritmo de hash. 25 * 26 */ 9 27 void precalc_mul_table(); 10 28
Note: See TracChangeset
for help on using the changeset viewer.