MCPcopy Create free account
hub / github.com/PKUJohnson/OpenData / pkcs7padding

Function pkcs7padding

tmp/2.py:8–23  ·  view source on GitHub ↗

明文使用PKCS7填充 最终调用AES加密方法时,传入的是一个byte数组,要求是16的整数倍,因此需要对明文进行处理 :param text: 待加密内容(明文) :return:

(text)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

aes_encryptFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected