aboutsummaryrefslogtreecommitdiff
path: root/aes.h
diff options
context:
space:
mode:
Diffstat (limited to 'aes.h')
-rw-r--r--aes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/aes.h b/aes.h
index f531395..9274d21 100644
--- a/aes.h
+++ b/aes.h
@@ -12,7 +12,7 @@ namespace AES{
std::string encrypt(const std::string &data,const std::string &key,Algorithm algo);
- //throws invalid_argument for an invalid ciphertext (length not a multiple of block size, or padding malformed)
+ //throws invalid_argument for an invalid ciphertext (length not a multiple of block size, or padding malformed) or an invalid key (invalid length)
std::string decrypt(const std::string &data,const std::string &key,Algorithm algo);
}