예제
Example keys and passwords are public test material.
A release identifier
입력
RELEASEONEExpected checks
Twofish Decrypt recovers:
52454c454153454f4e45- 키
{"string":"00000000000000000000000000000000","option":"Hex"}- IV
{"string":"","option":"Hex"}- 모드
ECB- 입력
Raw- 출력
Hex- 패딩
PKCS5
A sensor label
입력
SENSORWESTExpected checks
Twofish Decrypt recovers:
53454e534f5257455354- 키
{"string":"00000000000000000000000000000000","option":"Hex"}- IV
{"string":"","option":"Hex"}- 모드
ECB- 입력
Raw- 출력
Hex- 패딩
PKCS5
A telescope target
입력
MOONPHASESExpected checks
Twofish Decrypt recovers:
4d4f4f4e504841534553- 키
{"string":"00000000000000000000000000000000","option":"Hex"}- IV
{"string":"","option":"Hex"}- 모드
ECB- 입력
Raw- 출력
Hex- 패딩
PKCS5
A toy puzzle clue
입력
FOLLOWBIRDExpected checks
Twofish Decrypt recovers:
464f4c4c4f5742495244- 키
{"string":"00000000000000000000000000000000","option":"Hex"}- IV
{"string":"","option":"Hex"}- 모드
ECB- 입력
Raw- 출력
Hex- 패딩
PKCS5
An archive marker
입력
ARCHIVEDOCExpected checks
Twofish Decrypt recovers:
41524348495645444f43- 키
{"string":"00000000000000000000000000000000","option":"Hex"}- IV
{"string":"","option":"Hex"}- 모드
ECB- 입력
Raw- 출력
Hex- 패딩
PKCS5
128-bit key consistency test
입력
TestData12345678Expected answer
8aed2d3a85dc3e0b663ba1fe1fdaf056771d591428af301d69fa1e227d0835278aed2d3a85dc3e0b663ba1fe1fdaf056771d591428af301d69fa1e227d083527
- 키
{"string":"00000000000000000000000000000000","option":"Hex"}- IV
{"string":"","option":"Hex"}- 모드
ECB- 입력
Raw- 출력
Hex- 패딩
PKCS5
Twofish Official Vector: 128-bit zero key, zero plaintext
입력
00000000000000000000000000000000Expected answer
9f589f5cf6122c32b6bfec2f2ae8c35a9f589f5cf6122c32b6bfec2f2ae8c35a
- 키
{"string":"00000000000000000000000000000000","option":"Hex"}- IV
{"string":"","option":"Hex"}- 모드
ECB- 입력
Hex- 출력
Hex- 패딩
NO
Twofish Official Vector: 192-bit zero key, zero plaintext
입력
00000000000000000000000000000000Expected answer
efa71f788965bd4453f860178fc19101efa71f788965bd4453f860178fc19101
- 키
{"string":"000000000000000000000000000000000000000000000000","option":"Hex"}- IV
{"string":"","option":"Hex"}- 모드
ECB- 입력
Hex- 출력
Hex- 패딩
NO
Twofish Official Vector: 256-bit zero key, zero plaintext
입력
00000000000000000000000000000000Expected answer
57ff739d4dc92c1bd7fc01700cc8216f57ff739d4dc92c1bd7fc01700cc8216f
- 키
{"string":"0000000000000000000000000000000000000000000000000000000000000000","option":"Hex"}- IV
{"string":"","option":"Hex"}- 모드
ECB- 입력
Hex- 출력
Hex- 패딩
NO