Git Product home page Git Product logo

Comments (1)

sfc9982 avatar sfc9982 commented on September 18, 2024 1

AES bit mode is set on compile time, if you are using static lib, it will fail. Unless you share the same macro on compile time by yourself.

Testing AES256

CBC encrypt: SUCCESS!
CBC decrypt: SUCCESS!
CTR encrypt: SUCCESS!
CTR decrypt: SUCCESS!
ECB decrypt: SUCCESS!
ECB encrypt: SUCCESS!
ECB encrypt verbose:

plain text:
6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51
ae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52ef
30c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710
f69f2445df4f9b17ad2b417be66c3710cccccccccccccccccccccccccccccccc

key:
2b7e151628aed2a6abf7158809cf4f3ccccccccccccccccccccccccccccccccc

ciphertext:
5ad5d826200a16586ceb4adeccee1f3fae2d8a571e03ac9c9eb76fac45af8e51
0cd994fc47882683a95b871c51540aa630c81c46a35ce411e5fbc1191a0a52ef
5a22dc1148f0345795327be8c7ed9228f69f2445df4f9b17ad2b417be66c3710
49bd5a0471a8282656e525a2581e4dc4cccccccccccccccccccccccccccccccc

from tiny-aes-c.

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.