xomniseal/steg library
Unified steganography module for Xomniseal Dart SDK. Matches Python SDK algorithms exactly for cross-language compatibility.
Classes
- RevealResult
- Result of a reveal operation.
Enums
Constants
- publicSeed → const String
Functions
-
aesCbcDecrypt(
Uint8List data, Uint8List key) → Uint8List - AES-256-CBC decrypt. Expects IV prepended (first 16 bytes). Matches Python's iv_unscramble.
-
aesCbcEncrypt(
Uint8List plaintext, Uint8List key) → Uint8List - AES-256-CBC encrypt. Random 16-byte IV prepended to ciphertext. Matches Python's iv_scramble.
-
aesEcbEncrypt(
Uint8List plaintext, Uint8List key) → Uint8List - AES-256-ECB encrypt (deterministic, no IV). PKCS7 padded. Matches Python's non_iv_scramble.
-
checkSeal(
Uint8List bytes, String filename) → bool - Quick check if file contains a seal.
-
conceal(
Uint8List coverBytes, String coverFilename, Uint8List secretBytes, String secretFilename, String privateSeed) → Uint8List - Conceal secret data inside a cover file. Returns sealed file bytes.
-
detectFormat(
String filename) → FormatType -
isSupported(
String filename) → bool -
removeSeal(
Uint8List sealedBytes, String sealedFilename) → Uint8List - Remove seal from a file. Returns cleaned file bytes.
-
reveal(
Uint8List sealedBytes, String sealedFilename, String privateSeed) → RevealResult? - Reveal secret data from a sealed file. Returns null if no seal found.
-
verify(
Uint8List sealedBytes, String sealedFilename) → Map< String, String> - Verify integrity of a sealed file. Returns map with 'status' and 'message'.