Comments (10)
hi, can you help adding a full reproduceable example, eg a report or a class, perhaps add it on http://gist.github.com or in a public repository?
from aes.
Sure, here is the class I have created from your AES library, as well as a sample report that calls this class.
https://gist.github.com/haimat/cd1465f09b65aab731279253340d6f1d
from aes.
I don't have the environment any more, but I suggest checking the encoding and possibly padding?
from aes.
I tried to find an enconding problem, but didn't work out.
But I am far from being a crypto expert :(
Anything I could do for you guys to check that out with the working example I have posted?
from aes.
Hi, the gist you posted do not contain code for zdkk_rijndael_utility. Can you post that as well for checking the issue?
One more question, are you trying to recreate the utility classes yourself rather than importing from GIT?
from aes.
Ohh yes, sure, sorry for that.
I have updated the Gist and added the code for the ZDKK_RIJNDAEL_UTILITY
class.
from aes.
from aes.
The method lr_aes_util->decrypt_xstring
returns the following xstring in lv_x_result
:
ACF617EDAB61368AA977014DB821C59E
from aes.
Hi the issue is the parameter p_encdat is converting all the data to upper case causing the issue.
I corrected the same and posted in this gist
https://gist.github.com/raviandela/6f4b1c85eb493f0274f7462e8ef1e984
Output I got is : "0075266945"
Attached is the output.
from aes.
Thank you very much, that's it!
from aes.
Related Issues (18)
- How to use with ABAP strings? HOT 18
- Help Is appreciated HOT 4
- Use built-in ABAP types instead of DDIC HOT 2
- Exception CX_ME_ILLEGAL_ARGUMENT
- AES result is not matching with online tools HOT 5
- Base class ZCL_RIJNDAEL_UTILITY might have problems encrypting data after first block HOT 1
- Working Example HOT 2
- Encryption Issue HOT 8
- AES 盐值 解密。怎么调用呢? HOT 1
- Last bytes of AES encryption result is not matching with online tools HOT 2
- Decrypt file from SAP app.server HOT 2
- Some "garbage" as suffix left after decrypting via AES-CBC HOT 4
- Incorrect padding x00 , it should be PKCS#7 HOT 7
- abapGit repository format HOT 2
- Renaming classes HOT 3
- Introduce factory class
- Public methods in ZCL_AES_UTILITY
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aes.