#4 Make `BlockMetaSecrets` encryption lazy.

Mở
%! (template.HTML=2 năm trước cách đây)đang mở bởi mcarr · 0 ý kiến

Manually implement the Serialize trait for BlockMetaBody so that the secrets field can be lazily updated upon serialization if the secrets_struct field has been modified. In order to detect modifications, a new field with the serde(skip) attribute needs to be added to BlockMetaBody to store the hash of BlockMetaSecrets that was computed just after decryption.

Manually implement the Serialize trait for BlockMetaBody so that the secrets field can be lazily updated upon serialization if the secrets_struct field has been modified. In order to detect modifications, a new field with the serde(skip) attribute needs to be added to BlockMetaBody to store the hash of BlockMetaSecrets that was computed just after decryption.
Đăng nhập để tham gia bình luận.
Không có Milestone
Không có người được phân công
1 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.