Skip to content

Commit 2dce286

Browse files
authored
Update 4.2 Byte Padding.md
1 parent a2ec7f6 commit 2dce286

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

4.2 Byte Padding.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ F14ADBDA019D6DB7 EFD91546E3FF8444 9BCB0E0E0E0E0E0E
2323

2424
> 因為需要 16bytes 一區塊,9BCB 後還需要 14 bytes (14 的16 進位為 0E),所以按照 PKCS#7 的規規則為補充 14 個 14 到後面,所以有 14 個 0E,如果是需要 7 個 byte 則為補充七個 0x07 以此類推。
2525
26-
{% embed url="https://www.ibm.com/docs/en/zos/2.2.0?topic=method-pkcs-padding-example-1" %}
26+
https://www.ibm.com/docs/en/zos/2.2.0?topic=method-pkcs-padding-example-1
2727

28-
{% embed url="https://www.ibm.com/docs/en/zos/2.2.0?topic=rules-pkcs-padding-method" %}
28+
https://www.ibm.com/docs/en/zos/2.2.0?topic=rules-pkcs-padding-method
2929

3030
## 其他 Padding 算法
3131

3232
除了 PKCS#5, PKCS#7 以外還包含 ANSI X9.23, ISO 10126, ISO/IEC 7816-4 等等。
3333

34-
{% embed url="https://en.wikipedia.org/wiki/Padding_(cryptography)#Byte_padding" %}
34+
https://en.wikipedia.org/wiki/Padding_(cryptography)#Byte_padding

0 commit comments

Comments
 (0)