Skip to main content

set_salted_redactor

Function set_salted_redactor 

Source
pub fn set_salted_redactor(salt: [u8; 32]) -> Result<(), SetRedactorError>
Expand description

Installs a SaltedRedactor with the given salt as the global redactor.

Supports transitioning from either Uninitialized or Masking (after set_masking_redactor).

ยงErrors

Returns SetRedactorError if a salted redactor has already been installed.