Skip to content

Commit

Permalink
crypto: fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Béraud committed Nov 29, 2023
1 parent b285e6f commit 297e182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/opendht/crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ OPENDHT_PUBLIC Blob aesGetSalt(const uint8_t* data, size_t data_length);
OPENDHT_PUBLIC Blob inline aesGetSalt(const Blob& data) {
return aesGetSalt(data.data(), data.size());
}
/** Get the salt part of data password-encrypted with `aesEncrypt(data, password)` */
/** Get the encrypted data part of data password-encrypted with `aesEncrypt(data, password)` */
OPENDHT_PUBLIC std::string_view aesGetEncrypted(const uint8_t* data, size_t data_length);
OPENDHT_PUBLIC std::string_view inline aesGetEncrypted(const Blob& data) {
return aesGetEncrypted(data.data(), data.size());
Expand Down

0 comments on commit 297e182

Please sign in to comment.