pillfill / hiding-passwords-android Goto Github PK
View Code? Open in Web Editor NEWA project to compare various secret/sensitive key hiding techniques in android.
A project to compare various secret/sensitive key hiding techniques in android.
Warning in Gradle Build from NDK:
...app/src/main/jni/hidingutil/hidingutil.c: In function 'Java_com_apothesource_hidingpasswords_HidingUtil_hide':
.../app/src/main/jni/hidingutil/hidingutil.c:24:26: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
char *nativeString = (*env)->GetStringUTFChars(env, javaString, 0);
^
C function xor_value_with_key
modifies a char* that should be const/read-only.
Hi,
I want to inverse generateKeyXorParts function result 2 key string.
I did with method
Quora: How do you inverse XOR, and why?
a = 001011
and b = 101010
a XOR b = 100001
(a XOR b) XOR b = 001011 i.e. a
but result not correct.
Do you have any solution?
Hey guys,
I tried to use the guide provided here but it seems the code breaks once I pass a string that starts with a numeric character .
The password that Iam using in #Line7 is 2!jFiFhkh
and the string to encode is 21bc2d
The result is always empty.
When I change the string to encrypt to start with an alphabet char, e.g. e21bc2d
, Iam able to get results.
What might be the case with this?
The C code is exactly the same as the one provided here.
Has anyone encountered this?
Would appreciate any help.
I'm using Android Studio 1.3 RC4.
When compile project, I receive this error:
Incompatible Android Plugin Version: Android plugin version 1.2.3 is not compatible with the NDK support. Please use the experimental plugin.
And after changing Gradle plugin to com.android.tools.build:gradle-experimental:0.1.0
, then the next error is:
Gradle sync failed: Plugin with id 'com.android.application' not found
Could you please confirm this project is compiled successful in your side?
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.