credentials_obfuscation (credentials_obfuscation v3.5.0)

Link to this section Summary

Link to this section Functions

-spec cipher() -> atom().
-spec decrypt(none | undefined) -> none | undefined;
       ({plaintext, binary()} | {encrypted, binary()}) -> binary().
-spec enabled() -> boolean().
-spec encrypt(none | undefined) -> none | undefined;
       (iodata()) -> {plaintext, binary()} | {encrypted, binary()}.
-spec hash() -> atom().
-spec iterations() -> non_neg_integer().
Link to this function

refresh_config()

-spec refresh_config() -> ok | {error, invalid_config}.
-spec secret() -> binary() | '$pending-secret'.
Link to this function

set_fallback_secret(Secret)

-spec set_fallback_secret(binary()) -> ok.
Link to this function

set_secret(Secret)

-spec set_secret(binary()) -> ok.