mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 01:17:36 +00:00
GitBook: [master] one page and 2 assets modified
This commit is contained in:
parent
3baa372100
commit
c537180218
3 changed files with 21 additions and 0 deletions
BIN
.gitbook/assets/image (172).png
Normal file
BIN
.gitbook/assets/image (172).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.5 KiB |
BIN
.gitbook/assets/image (190).png
Normal file
BIN
.gitbook/assets/image (190).png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
|
@ -8,7 +8,28 @@ If you ends in a code **using shift rights and lefts, xors and several arithmeti
|
||||||
|
|
||||||
#### CryptDeriveKey
|
#### CryptDeriveKey
|
||||||
|
|
||||||
|
If this function is used, you can find which **algorithm is being used** checking the value of the second parameter:
|
||||||
|
|
||||||
|
![](../.gitbook/assets/image%20%28190%29.png)
|
||||||
|
|
||||||
|
Check here the table of possible algorithms and their assigned values: [https://docs.microsoft.com/en-us/windows/win32/seccrypto/alg-id](https://docs.microsoft.com/en-us/windows/win32/seccrypto/alg-id)
|
||||||
|
|
||||||
|
#### RtlCompressBuffer/RtlDecompressBuffer
|
||||||
|
|
||||||
|
Compresses and decompresses a given buffer of data.
|
||||||
|
|
||||||
|
#### CryptAcquireContext
|
||||||
|
|
||||||
|
The **CryptAcquireContext** function is used to acquire a handle to a particular key container within a particular cryptographic service provider \(CSP\). **This returned handle is used in calls to CryptoAPI** functions that use the selected CSP.
|
||||||
|
|
||||||
|
#### CryptCreateHash
|
||||||
|
|
||||||
|
Initiates the hashing of a stream of data. If this function is used, you can find which **algorithm is being used** checking the value of the second parameter:
|
||||||
|
|
||||||
|
![](../.gitbook/assets/image%20%28172%29.png)
|
||||||
|
|
||||||
|
|
||||||
|
Check here the table of possible algorithms and their assigned values: [https://docs.microsoft.com/en-us/windows/win32/seccrypto/alg-id](https://docs.microsoft.com/en-us/windows/win32/seccrypto/alg-id)
|
||||||
|
|
||||||
### Code constants
|
### Code constants
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue