java-aes-crypto icon indicating copy to clipboard operation
java-aes-crypto copied to clipboard

request: java jre/jdk specific version

Open spyhunter99 opened this issue 8 years ago • 5 comments

Would it be possible to get a java specific version of this?

Also it would be worth testing something encrypted on jre could be decrypted from adk and vs versa

spyhunter99 avatar Jan 31 '17 15:01 spyhunter99

I was able to hack up the code a bit to make it work on jre/jdk, however it needs some additional checks for windows based operating systems or anything that does not have a /dev/urandom. I'm not sure what effect it has by disabling the method "installLinuxPRNGSecureRandom" in terms of crypto stength

spyhunter99 avatar Jan 31 '17 15:01 spyhunter99

Thanks! That installLinuxPRNG function will have no effect on anything but certain Android versions. Did you create a pure Java branch by chance?

thanks,

isaac

On Tue, Jan 31, 2017 at 7:15 AM, spyhunter99 [email protected] wrote:

I was able to hack up the code a bit to make it work on jre/jdk, however it needs some additional checks for windows based operating systems or anything that does not have a /dev/urandom. I'm not sure what effect it has by disabling the method "installLinuxPRNGSecureRandom" in terms of crypto stength

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tozny/java-aes-crypto/issues/35#issuecomment-276390569, or mute the thread https://github.com/notifications/unsubscribe-auth/AAieUw5W3Osfge1uaCs2Lr5f9ot77S5Jks5rX0_9gaJpZM4Lyvd3 .

SyntaxPolice avatar Jan 31 '17 17:01 SyntaxPolice

I can do that perhaps later tonight. The change set is pretty small

spyhunter99 avatar Jan 31 '17 17:01 spyhunter99

PR opened

spyhunter99 avatar Feb 01 '17 14:02 spyhunter99

Thanks for the PR. We'll get to reviewing things soon as we can 👍

ericmann avatar Feb 23 '17 18:02 ericmann