Code Monkey home page Code Monkey logo

Comments (8)

siyengar avatar siyengar commented on August 24, 2024

Conceal currently uses 128 bit AES in GCM mode. For the mac it uses SHA1 HMAC. Are there any other particulars you wanted?

from conceal.

siyengar avatar siyengar commented on August 24, 2024

Closing out. feel free to reopen if you have further questions

from conceal.

jlchoike-DL avatar jlchoike-DL commented on August 24, 2024

@siyengar Can the implementation be modified to use AES 256? Please advise. Thanks!

** Question Update ** With NativeGCMCipher accept any valid AES key size (128, 192, or 256) for keys generated by the key chain? I implemented a custom key chain that generates a 256-bit key, and was able to encrypt my data, but wanted to confirmation that this is valid.

from conceal.

siyengar avatar siyengar commented on August 24, 2024

@jlchoike-DL currently the native code enforces a AES128 key size https://github.com/facebook/conceal/blob/master/native/crypto/gcm_util.c#L51 because it uses AES128.

I need to add a feature to allow multiple key sizes. Thanks for checking.

Is there a business reason you need AES256 vs 128. AES128 should be pretty strong for modern applications.

from conceal.

mandrachek avatar mandrachek commented on August 24, 2024

@siyengar I have the same request. My business reason is that my client requires it. I would love to be able to use conceal at least for the AES-128 and AES-256

from conceal.

siyengar avatar siyengar commented on August 24, 2024

@mandrachek sounds good, bumping the priority of this request

from conceal.

jlchoike-DL avatar jlchoike-DL commented on August 24, 2024

@siyengar I have business requirements to use AES-256 bit encryption. Thank you for responding so promptly!

However, I just learned that the inclusion of Open SSL has precluded my team from using Conceal because of the presence of BSD 4-Clause license (involving advertisement when OpenSSL code is used).

Have you considered any alternatives to OpenSSL for AES-GCM (e.g. BountyCastle)? I think this would eliminate the restriction on using Conceal.

from conceal.

mandrachek avatar mandrachek commented on August 24, 2024

@jlchoike-DL I don't want to speak for @siyengar , but that would defeat the performance enhancements this library provides.

from conceal.

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.