Code Monkey home page Code Monkey logo

Comments (5)

xiangdingquan avatar xiangdingquan commented on August 27, 2024

Hi, xiangdingquan

When I was testing with Samsung Tab S Version 6.0.

  1. encrypt, decrypt output result change in every test.
  2. Java output cannot decrypt using with JNI.

return env->NewStringUTF(result);

Could you please check it. And Fix

Please check that your java version of base64 code is used in Base64.URL_SAFE mode!

from aes.

chanmratekoko avatar chanmratekoko commented on August 27, 2024

Please check that your java version of base64 code is used in Base64.URL_SAFE mode!

@xiangdingquan

I already used Base64.URL_SAFE mode.

JNI encrypt, decrypt output result change in every test.
For java is not change.

from aes.

xiangdingquan avatar xiangdingquan commented on August 27, 2024

Please check that your java version of base64 code is used in Base64.URL_SAFE mode!

@xiangdingquan

I already used Base64.URL_SAFE mode.

JNI encrypt, decrypt output result change in every test.
For java is not change.

show me your code

from aes.

xiangdingquan avatar xiangdingquan commented on August 27, 2024

Please check that your java version of base64 code is used in Base64.URL_SAFE mode!

@xiangdingquan
I already used Base64.URL_SAFE mode.
JNI encrypt, decrypt output result change in every test.
For java is not change.

show me your code

Have you tried any other models?

from aes.

chanmratekoko avatar chanmratekoko commented on August 27, 2024

@xiangdingquan

I tried with this repo is fine.

https://github.com/wtuadn/JNITool

But It hasn't integrated with java cyto.
So I can't compare those two result.

How did you test it? Code posted

from aes.

Related Issues (1)

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.