Skip to content
Snippets Groups Projects
Commit d99d7bfd authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

Expose CalamaresUtils::obscure as libcalamares.utils.obscure.

parent f8078be2
No related branches found
No related tags found
No related merge requests found
......@@ -206,6 +206,15 @@ BOOST_PYTHON_MODULE( libcalamares )
"subprocess.CalledProcessError if something went wrong."
)
);
bp::def(
"obscure",
&CalamaresPython::obscure,
bp::args( "s" ),
"Simple string obfuscation function based on KStringHandler::obscure.\n"
"Returns a string, generated using a simple symmetric encryption.\n"
"Applying the function to a string obscured by this function will result "
"in the original string."
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment