Saac
stegobox.codec.Saac
Bases: BaseCodec
Saac is a steganography method for text.
Saac doesn't use any payload. It converts encrypted secret text into smooth statements that are difficult to detect abnormality.
Source code derived from: mickeysjm/StegaText
Source code in stegobox/codec/saac/saac.py
encode(carrier, payload=None)
encrypt secret plaintext to message bits & encode message bits to covertext
Parameters:
Name | Type | Description | Default |
---|---|---|---|
carrier |
str
|
secret plaintext to send |
required |
payload |
should be kept as None |
None
|
Returns:
Name | Type | Description |
---|---|---|
covertext |
str
|
covertext looks like normal text |
Source code in stegobox/codec/saac/saac.py
decode(carrier)
decode covertext to message bits & map message bits back to original text
Parameters:
Name | Type | Description | Default |
---|---|---|---|
carrier |
str
|
received covertext |
required |
Returns:
Name | Type | Description |
---|---|---|
reconst |
str
|
recovered plaintext |