#4 Make `BlockMetaSecrets` encryption lazy.

Terbuka
dibuka 2 tahun lalu oleh mcarr · 0 komentar

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.
Masuk untuk bergabung dalam percakapan ini.
Tidak ada tonggak
Tidak ada penerima
1 Peserta
Memuat...
Batal
Simpan
Belum ada konten.