Module safe_app::ffi::mdata_info[][src]

MDataInfo operations.

Functions

mdata_info_decrypt

Decrypt mdata entry value or a key using the corresponding mdata info.

mdata_info_deserialise

Deserialise MDataInfo.

mdata_info_encrypt_entry_key

Encrypt mdata entry key using the corresponding mdata info.

mdata_info_encrypt_entry_value

Encrypt mdata entry value using the corresponding mdata info.

mdata_info_new_private

Create encrypted mdata info with explicit data name and a provided private key.

mdata_info_random_private

Create random, encrypted mdata info.

mdata_info_random_public

Create random, non-encrypted mdata info.

mdata_info_serialise

Serialise MDataInfo.