mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Warn about throwing.
This commit is contained in:
@@ -32,6 +32,9 @@
|
|||||||
// 3) Encrypted: Original plaintext
|
// 3) Encrypted: Original plaintext
|
||||||
// 4) Encrypted: Rest of block/padding
|
// 4) Encrypted: Rest of block/padding
|
||||||
|
|
||||||
|
// ECIES operations throw on any error such as a corrupt message or incorrect
|
||||||
|
// key. They *must* be called in try/catch blocks.
|
||||||
|
|
||||||
// Algorithmic choices:
|
// Algorithmic choices:
|
||||||
#define ECIES_KEY_HASH SHA512 // Hash used to expand shared secret
|
#define ECIES_KEY_HASH SHA512 // Hash used to expand shared secret
|
||||||
#define ECIES_KEY_LENGTH (512/8) // Size of expanded shared secret
|
#define ECIES_KEY_LENGTH (512/8) // Size of expanded shared secret
|
||||||
|
|||||||
Reference in New Issue
Block a user