Coder Social home page Coder Social logo

can not encrypt with public key about jsencrypt HOT 5 OPEN

travist avatar travist commented on August 17, 2024
can not encrypt with public key

from jsencrypt.

Comments (5)

zoloft avatar zoloft commented on August 17, 2024

What's the command that generated this key?

from jsencrypt.

whuhenrylee avatar whuhenrylee commented on August 17, 2024

@zoloft the key is supplied by the third party,I need to encrypt the pwd using this key , and give it to the third party ,the key is here
7Qu0WnYKDCBzmjfEuJIIg/R+e9N34ZOHWof6WHFle4lupKhrdOeM98SEy0j0Xv5RTz7JYPhgb1B4QIOdopHPxj4y8Sv75TvFxoPFFA291zM0i24YODhqyteP7QXF56JU41hZAD7t9q3IFPeQbedCr8bTHVlVF4c68gnA3iiJesk=

sorry, I give the wrong key above.maybe it's openssl..

from jsencrypt.

whuhenrylee avatar whuhenrylee commented on August 17, 2024

@zoloft they use .net library to generate the rsa key. It should be standard rsa

from jsencrypt.

zoloft avatar zoloft commented on August 17, 2024

@whuhenrylee the key doesn't really look good, can you provide any more information about this key? What is the third party library are you using?

from jsencrypt.

Elmapul avatar Elmapul commented on August 17, 2024

there is a serious bug here...
i was testing this:
http://travistidwell.com/jsencrypt/demo/

and if you delete the private key and click in "Encrypt/Decrypt" it return false on the Encrypted text area.
in other worlds, you can't encrypt unless you know both the private key and the public key.

does the private key and public key are inverted?

im on Firefox 49

from jsencrypt.

Related Issues (20)

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.