0
4

1 回答 1

1

PHP doesn't add any padding, which is likely needed.

You'll have to pad it manually, take a look at this post on PHP.net which explains one method of achieving PKCS7 padding compatibility.

Beyond that, make sure you're setting the matching confidentiality mode (CBC) and cipher within "AS3CRYPTO".

于 2011-06-24T22:36:59.227 回答