D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
python3-cryptography
/
docs
/
development
/
custom-vectors
/
Filename :
cast5.rst
back
Copy
CAST5 vector creation ===================== This page documents the code that was used to generate the CAST5 CBC, CFB, OFB, and CTR test vectors as well as the code used to verify them against another implementation. The CBC, CFB, and OFB vectors were generated using OpenSSL and the CTR vectors were generated using Apple's CommonCrypto. All the generated vectors were verified with Go. Creation -------- ``cryptography`` was modified to support CAST5 in CBC, CFB, and OFB modes. Then the following Python script was run to generate the vector files. .. literalinclude:: /development/custom-vectors/cast5/generate_cast5.py Download link: :download:`generate_cast5.py </development/custom-vectors/cast5/generate_cast5.py>` Verification ------------ The following Go code was used to verify the vectors. .. literalinclude:: /development/custom-vectors/cast5/verify_cast5.go :language: go Download link: :download:`verify_cast5.go </development/custom-vectors/cast5/verify_cast5.go>`
Name
Size
Last Modified
Owner
Permissions
Actions
arc4
Dir
February 29 2024 3:41:17
root
0755
cast5
Dir
February 29 2024 3:41:17
root
0755
hkdf
Dir
February 29 2024 3:41:17
root
0755
idea
Dir
February 29 2024 3:41:17
root
0755
rsa-oaep-sha2
Dir
February 29 2024 3:41:17
root
0755
secp256k1
Dir
February 29 2024 3:41:17
root
0755
seed
Dir
February 29 2024 3:41:17
root
0755
arc4.rst
0.82
KB
October 28 2020 3:11:40
root
0644
cast5.rst
0.973
KB
October 28 2020 3:11:40
root
0644
hkdf.rst
0.737
KB
October 28 2020 3:11:40
root
0644
idea.rst
0.927
KB
October 28 2020 3:11:40
root
0644
rsa-oaep-sha2.rst
1.68
KB
October 28 2020 3:11:40
root
0644
secp256k1.rst
0.975
KB
October 28 2020 3:11:40
root
0644
seed.rst
0.915
KB
October 28 2020 3:11:40
root
0644
2017 © D7net | D704T team