Skip to main content

convert_request_to_cipher_view

Function convert_request_to_cipher_view 

Source
pub(crate) fn convert_request_to_cipher_view(
    r: CipherCreateRequest,
) -> CipherView
Expand description

Internal helper to convert a CipherCreateRequest into a CipherView so the existing CipherView encryption pipeline can be reused.

This conversion is lossy and intended for use only within the internal create flow. Placeholder values are generated to satisfy the CipherView contract; they have no meaning outside of this flow.