Git Product home page Git Product logo

hiding-passwords-android's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hiding-passwords-android's Issues

NDK Warning: Disguarded 'const' qualifier in JNI

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.

Encoding breaks if a string starts with a numeric number

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 .

Observation


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.

Cannot build project

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.