Closed ganlvtech closed 5 years ago
Low priority.
The given aesKey
is a hex string, but the code here don't use it as a bytestring.
There should be a hexStringToByteString
method, or the server should give a key that contains all available chars.
You wanna fix it?
This may cause backward compatibiliy problem. Should we need a transition from one to another
We may support Kahla extends development later. Some features like:
This issue has low priority. May be fixed in further upgrades later.
When I try to write a client in php. The decryption is not so easy. See my code.
Do you want to change the
crypto.js non-standard key
to akey
and a constantiv
(e.g.101112131415161718191a1b1c1d1e1f
).Then I can remove the
evpKDF
function and decrypt happily.