library porting 5f-steganography library to android.
harlo / f5android Goto Github PK
View Code? Open in Web Editor NEWlibrary porting 5f-steganography library to android.
library porting 5f-steganography library to android.
library porting 5f-steganography library to android.
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.vipin.myfirstapp-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.vipin.myfirstapp-2/lib/arm64, /system/fake-libs64, /data/app/com.example.vipin.myfirstapp-2/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libF5Buffers.so"
images that are run through f5 stego should not all be tagged with the same "_embed" appendix. we should keep the image files as close to a standard/normail alphanum sequence as possible.
Right now if no output filename is provided, F5Android library defaults to replacing the original extension by "_embed.jpg" but while doing so, it also messes up last char of original name. Example:
IMG_0001.jpg becomes IMG_000_embed.jpg (last 1 is accidentally chopped)
Fix:
Please change line 60 of Embed.java into
String extension = this.file.getName().substring(this.file.getName().lastIndexOf(".") );
Thanks.
Accidentally the leather cover was over the camera lens, so the image was fully black, and the embedding process ended up throwing an exception:
D/***************** JPEG-STEGO ******************(17749): Embedding of 1432 bits (175+4 bytes)
D/***************** JPEG-STEGO ******************(17749): using default code, file will not fit
D/***************** JPEG-STEGO ******************(17749): 4 coefficients examined
E/***************** JPEG-STEGO ******************(17749): java.lang.ArithmeticException: divide by zero
W/System.err(17749): java.lang.ArithmeticException: divide by zero
W/System.err(17749): at james.JpegEncoder.WriteCompressedData(JpegEncoder.java:577)
W/System.err(17749): at james.JpegEncoder.Compress(JpegEncoder.java:93)
W/System.err(17749): at james.JpegEncoder.Compress(JpegEncoder.java:113)
W/System.err(17749): at info.guardianproject.f5android.Embed.<init>(Embed.java:84)
W/System.err(17749): at info.guardianproject.f5android.Embed.<init>(Embed.java:41)
W/System.err(17749): at com.mayorante.ztegocam.F5Embedder.doF5(F5Embedder.java:79)
W/System.err(17749): at com.mayorante.ztegocam.F5Embedder.embed(F5Embedder.java:63)
W/System.err(17749): at dalvik.system.NativeStart.run(Native Method)
If this is a porting of the original f5 java library referenced in the readme, then it is unnecessarily convoluted and the efficiency isn't as good (i.e. output size). It could be much simpler.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.