This was a great tutorial. This was so much more helpful that anything else. Thank you so much. Though mine did not work. It worked as far as encryption and half way through decryption and just skipped the rest. I don't know why.
Thank you for your feedback! I have recorded the video, but sadly I didn't find time to add it to the website. I will add the gist link to the video description if you just want to copy the code
Question im new in java and also in encryption method. Everytime I encrypt the data the response is jackson illegal character code 0, so how I fix this kind of error?
If i have 2 systems upstream and downstream ,then how can the key generated in the upstream be notified to the down stream to decrypt? Is it possible? Or can we generate a key of our own logic which is known to both upstream and downstream?
I'm a student taking IB cs and having the same problem on my IA project. Did you find your way out for this problem? If you did can you tell me how you solved the problem?
Those two things are quite different. The first is an library and the second is am algorithm so we can't compare between them. What I can tell you is that encryption is mostly used to protect sensitive data like banking details or even personal informations. But wolfssl is used to share information in an IoT network and I don't believe, yet, that this kind of data requires encryption. Unless its in an environment that's protected like someone's house.
This URL will help you understand the difference and how they can be used together. www.precisely.com/blog/data-security/aes-vs-rsa-encryption-differences
I encrpted a string firstly, then I stop the app and I put the string that I encrypted before inside the project , like a constant variable and as a encretped version, then when I tried the decrypted the string that I put inside the project, I am getting an error which is javax.crypto.AEADBadTagException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT. Do you have any idea about it ?
This error happens when you don't use the same key for encryption as the one for decryption. The same way you stored the encrypted data you need to store the encryption key.
This was a great tutorial. This was so much more helpful that anything else. Thank you so much. Though mine did not work. It worked as far as encryption and half way through decryption and just skipped the rest. I don't know why.
Machaallah . Men lavoix Rani has belik Dziri.
very nice tuitorial
Great tutorial thanks
Great tutorial. Love your work. In your description, it still says : LOADING..., is the code still unavailable ?
Thank you for your feedback! I have recorded the video, but sadly I didn't find time to add it to the website. I will add the gist link to the video description if you just want to copy the code
What are the dependency you have used maven or gradle
How can I encrypt an image using AES?
Question im new in java and also in encryption method. Everytime I encrypt the data the response is jackson illegal character code 0, so how I fix this kind of error?
Amazing tutorial :) thanks
If i have 2 systems upstream and downstream ,then how can the key generated in the upstream be notified to the down stream to decrypt? Is it possible? Or can we generate a key of our own logic which is known to both upstream and downstream?
I'm a student taking IB cs and having the same problem on my IA project. Did you find your way out for this problem? If you did can you tell me how you solved the problem?
How to take key as a input like password.
And decrypt it using the same key .
You can use a Scanner and read it from the user input, or read it from a file
What if I was using CBC? not GCM.
Very useful :) thanks
Is wolfssl more secure than aes 256 gcm?
Those two things are quite different. The first is an library and the second is am algorithm so we can't compare between them.
What I can tell you is that encryption is mostly used to protect sensitive data like banking details or even personal informations. But wolfssl is used to share information in an IoT network and I don't believe, yet, that this kind of data requires encryption. Unless its in an environment that's protected like someone's house.
anyone can send another code
difference btw RSA and AES ?
This URL will help you understand the difference and how they can be used together.
www.precisely.com/blog/data-security/aes-vs-rsa-encryption-differences
yes
1
I encrpted a string firstly, then I stop the app and I put the string that I encrypted before inside the project , like a constant variable and as a encretped version, then when I tried the decrypted the string that I put inside the project, I am getting an error which is javax.crypto.AEADBadTagException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT. Do you have any idea about it ?
This error happens when you don't use the same key for encryption as the one for decryption.
The same way you stored the encrypted data you need to store the encryption key.