I am writing a cryptogram that does things like hashing (sha1), encryption, digital characters for win32 in C ++ is built into cryptoapi secure, or should I use some other library like crypto ++ I need maximum security and I work on all xp and vista systems (and, possibly, 2000), but at the same time I need to minimize the size of the exe and therefore I do not want external files to be added
Define "safe." The built-in windows crypto api does what it advertises and has no flaws that cannot be fixed, at least I know. The Crypto Next Generation API may be worth a look.
Usually in a protected program, the problem is what people do with the API - insufficient key length, leaving the keys in plain text, etc. - it really creates problems, not the software of the provider.
"Security is a process, not a product." - schneier
Cryptographic algorithms, such as hashing, encryption and signing, are only part of the process:
CAPI CNG Vista . , CAPI, , .
, , , .
, ...
" " , API , . API.
, API , , API.
"" , , . - API, , , API .
.
CryptoAPI , .
, Windows : , , , , CryptoAPI . , - . , CryptoAPI, , , , . , , - ""; , , , .
, " " ( "" ), . , ; - .
, , , , . , .
140-2. .
Crypto API , Vista, CNG (Crypto APi Next Generation). , Crypto API Windows 7.
Source: https://habr.com/ru/post/1709000/More articles:Problem downloading a file with Python - pythonC # extension method does not work for increase and decrease scenarios, is it by design? - c #Authentication Cookie Encryption Vulnerability - Podcast - securityКак обрабатывать Null в подзапросе LINQ? - nullJasperReports JRBeanCollectionDataSource is still confused - javabeansУдаление index.php с URL-адресов веб-сайтов - url-rewritingClassFormatError using JMockit with EMMA - jmockitHow do I sort a dynamically generated specific order in mySQL? - sqlSpecific settings using MEF - c #JSF inputText and sessions in jsf managed bean - javaAll Articles