Skip to content

Adding value_encryption_utils#180

Merged
argmarco-tkd merged 1 commit into
mainfrom
dev_value_encr_utils
Dec 5, 2025
Merged

Adding value_encryption_utils#180
argmarco-tkd merged 1 commit into
mainfrom
dev_value_encr_utils

Conversation

@argmarco-tkd

Copy link
Copy Markdown
Collaborator

Adding value_encryption_utils (to be used by Encryptor implementations)

Testing

  • Existing and new tests pass.

@avalerio-tkd avalerio-tkd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It took me a while to understand it, but I think I got it. Left a few questions to clarify. Thanks!

Comment thread src/common/value_encryption_utils.cpp Outdated
Comment thread src/common/value_encryption_utils.cpp Outdated
Comment thread src/common/value_encryption_utils.cpp Outdated
Comment thread src/common/value_encryption_utils.cpp Outdated
Comment thread src/common/value_encryption_utils.cpp Outdated
// Helper: Convert decrypted byte-vectors into a TypedListValues according to datatype
TypedListValues BuildTypedListFromDecryptedBytes(
Type::type datatype,
const std::vector<std::vector<uint8_t> >& elements_bytes) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To clarify, this is the plain bytes, no longer EncryptedValue or anything else wrapped, right?

Comment thread src/common/value_encryption_utils.cpp Outdated
Comment thread src/common/value_encryption_utils.cpp Outdated
Comment thread src/common/value_encryption_utils.cpp Outdated

@argmarco-tkd argmarco-tkd left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(test - let's see if with this all the comments are piublished)

Comment thread src/common/value_encryption_utils.cpp Outdated
Comment thread src/common/value_encryption_utils.cpp Outdated
Comment thread src/common/value_encryption_utils.cpp Outdated
Comment thread src/common/value_encryption_utils.cpp Outdated
Comment thread src/common/value_encryption_utils.h
Comment thread src/common/value_encryption_utils.cpp
Comment thread src/common/value_encryption_utils.cpp Outdated

@avalerio-tkd avalerio-tkd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this and all the changes! Ship it :)

@argmarco-tkd

Copy link
Copy Markdown
Collaborator Author

Thanks for this and all the changes! Ship it :)

Thank you! - I know it took extra time to review this one! :)

@argmarco-tkd argmarco-tkd merged commit 4cffaa2 into main Dec 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants