You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How often does it reproduce? Is there a required condition?
always
What is the expected behavior? Why is that the expected behavior?
With decipher.setAutoPadding = false; it should be possible to disable padding.
It is expected that the decrypted block in the example does have the same length than the input block.
What do you see instead?
The decrypted block misses 1 byte (0x01) at the end.
Additional information
No response
The text was updated successfully, but these errors were encountered:
I've removed the windows label since the same issue appears when running that code on Linux. Added 'crypto` instead. This is the output I got on Linux:
This is expected. You are not actually calling setAutoPadding(false) but overwriting the function-valued property with the constant false, which has no documented effect. If you actually call setAutoPadding(false) instead, you should be able to disable padding.
Version
v22.11.0
Platform
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
always
What is the expected behavior? Why is that the expected behavior?
With
decipher.setAutoPadding = false;
it should be possible to disable padding.It is expected that the decrypted block in the example does have the same length than the input block.
What do you see instead?
The decrypted block misses 1 byte (0x01) at the end.
Additional information
No response
The text was updated successfully, but these errors were encountered: