Giter VIP home page Giter VIP logo

Comments (7)

brainfoolong avatar brainfoolong commented on May 29, 2024

This is not designed to work without JSON. But you can modify it yourself. An idea would be to concat all 3 properties of j in a simple string. Maybe you need base64 encode/decode than.
I will not code this or change this repository, sorry.

from cryptojs-aes-php.

spencerthayer avatar spencerthayer commented on May 29, 2024

I wasn't going to ask you to do that for me. I appreciate you letting me know.

from cryptojs-aes-php.

spencerthayer avatar spencerthayer commented on May 29, 2024

Out of curiosity what are these three properties: "ct","iv", and "s"?

from cryptojs-aes-php.

brainfoolong avatar brainfoolong commented on May 29, 2024

ct = ciphertext
iv = initialization vector
s = salt

from cryptojs-aes-php.

spencerthayer avatar spencerthayer commented on May 29, 2024

If the ciphertext, initialization vector, and salt were publicly available it would be very easy to crack right?

from cryptojs-aes-php.

spencerthayer avatar spencerthayer commented on May 29, 2024

For example if the following sting were public accessibility the string could be cracked easier without a passphrase right?

{"ct":"SZ+FnZHg0Bk+UOHc39yjuwOEcWmDP5EjaP94AFkD9zTW\/7GeJZ\/pCnEL\/MNoXVe4","iv":"c4a180230e4682eb31fbfa07323673f5","s":"56a3f21df2797a0d"}

from cryptojs-aes-php.

brainfoolong avatar brainfoolong commented on May 29, 2024

I'm not an expert for aes encryption. But as far as i know, if you miss just one of the 3 variables you cannot decrypt the message. And also with all 3 variables, decryption of AES with brute force requires A LOT of time. Here is a good article about it: http://www.eetimes.com/document.asp?doc_id=1279619

This library use 256bit encryption keys.

from cryptojs-aes-php.

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.