File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
app/src/main/java/org/vonderheidt/hips/utils Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ import org.vonderheidt.hips.data.Settings
88object Steganography {
99 /* *
1010 * Function to encode secret message into cover text using given context.
11+ *
12+ * @param context The context to encode the secret message with.
13+ * @param secretMessage The secret message to be encoded.
14+ * @param conversionMode Conversion mode, determined by Settings object.
15+ * @param steganographyMode Steganography mode, determined by Settings object.
16+ * @return A cover text containing the secret message.
1117 */
1218 suspend fun encode (
1319 context : String ,
@@ -39,6 +45,12 @@ object Steganography {
3945
4046 /* *
4147 * Function to decode secret message from cover text using given context.
48+ *
49+ * @param context The context to decode the cover text with.
50+ * @param coverText The cover text containing a secret message.
51+ * @param conversionMode Conversion mode, determined by Settings object.
52+ * @param steganographyMode Steganography mode, determined by Settings object.
53+ * @return The secret message.
4254 */
4355 suspend fun decode (
4456 context : String ,
You can’t perform that action at this time.
0 commit comments