REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 996 B
Close
//opt/alt/python37/share/doc/alt-python37-cryptography/docs/development/custom-vectors/cast5.rst
Text
Base64
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>`
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 7 × Files: 7
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
arc4
DIR
-
drwxr-xr-x
2021-10-11 07:57:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cast5
DIR
-
drwxr-xr-x
2021-10-11 07:57:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
hkdf
DIR
-
drwxr-xr-x
2021-10-11 07:57:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
idea
DIR
-
drwxr-xr-x
2021-10-11 07:57:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rsa-oaep-sha2
DIR
-
drwxr-xr-x
2021-10-11 07:57:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
secp256k1
DIR
-
drwxr-xr-x
2021-10-11 07:57:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
seed
DIR
-
drwxr-xr-x
2021-10-11 07:57:09
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
arc4.rst
834 B
lrw-r--r--
2018-07-18 11:21:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cast5.rst
996 B
lrw-r--r--
2018-07-18 11:21:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
hkdf.rst
752 B
lrw-r--r--
2018-07-18 11:21:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
idea.rst
949 B
lrw-r--r--
2018-07-18 11:21:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rsa-oaep-sha2.rst
1.68 KB
lrw-r--r--
2018-07-18 11:21:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
secp256k1.rst
998 B
lrw-r--r--
2018-07-18 11:21:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
seed.rst
937 B
lrw-r--r--
2018-07-18 11:21:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).