Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ Encrypt
Method
Encrypt
src/crypto/aes.cpp:23–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
}
22
23
void AES256Encrypt::Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const
24
{
25
AES256_encrypt(&ctx, 1, ciphertext, plaintext);
26
}
27
28
AES256Decrypt::AES256Decrypt(const unsigned char key[32])
29
{
Callers
5
CBCEncrypt
Function · 0.45
TestAES256
Function · 0.45
TestAES256CBC
Function · 0.45
FUZZ_TARGET
Function · 0.45
FUZZ_TARGET
Function · 0.45
Calls
2
AES256_encrypt
Function · 0.85
CBCEncrypt
Function · 0.85
Tested by
4
TestAES256
Function · 0.36
TestAES256CBC
Function · 0.36
FUZZ_TARGET
Function · 0.36
FUZZ_TARGET
Function · 0.36