PBKDF2 icon indicating copy to clipboard operation
PBKDF2 copied to clipboard

[Question] Can be used in android project?

Open le4ker opened this issue 8 years ago • 1 comments

Hey!

Thanks for sharing.

I have a android project in Android Studio that is set up with gradle and maven, will I be able to use your library?

Thanks! :panos

le4ker avatar Jun 13 '16 10:06 le4ker

Hello Panos,

it's been a while since I did my last Android programming, but, yes, I think it should be possible to use this JAR file with Android.

I made sure to compile the JAR with Java 6 (major version: 50, minor version: 0), so the stock dependency (Gradle 'de.rtner:PBKDF2:1.1.1') will load a Jar that has no bytecode that Dalvik doesn't understand.

The other requirement is that the underlying algorithm "HMacSHA1" needs to be supported by Android. I would bet it is, but currently I have no environment to actually test this, unfortunately.

I'd appreciate it if you could update us on any findings you have on this.

Thanks, Matthias

m9aertner avatar Jun 20 '16 20:06 m9aertner