psychometry ~master
A steganography library of the D programming language.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Psychometry
Psychometry is a steganography library of the D programming language. Implementation of steganographic algorithm is modularized in this library, so we will be able to add various types of algorithm.
Usage
LSB Steganography(encode)
import imageformats;
import psychometry;
IFImage raw_image = read_png("before_lsb_steg.png");
string s = "Free Software, Free Society";
ubyte[] secret_data = cast(ubyte[])(s.dup);
Converter converter = new Converter(new LSBMode(64));
ubyte[] covered_data = converter.encode(raw_image.pixels, secret_data);
write_png("after_lsb_steg.png", raw_image.w, raw_image.h, covered_data);
LSB Steganography(decode)
import imageformats;
import psychometry;
IFImage covered_image = read_png("after_lsb_steg.png");
Converter converter = new Converter(new LSBMode(64));
string s = cast(string)(converter.decode(covered_image.pixels));
- Registered by SybilEclipse
- ~master released 6 years ago
- Sybil-E/psychometry
- MIT
- Copyright © 2018, SybilEclipse
- Authors:
- Dependencies:
- imageformats
- Versions:
-
0.1.0 2018-Dec-09 ~master 2018-Dec-09 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
13 downloads total
-
- Score:
- 0.0
- Short URL:
- psychometry.dub.pm