diff --git a/src/libcalamares/PythonJob.cpp b/src/libcalamares/PythonJob.cpp index d6913ecd3..e00972627 100644 --- a/src/libcalamares/PythonJob.cpp +++ b/src/libcalamares/PythonJob.cpp @@ -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." + ); }