Exemples
Discard 192 four-byte words before applying the legacy stream. Compare this with the zero-drop RC4 example; neither is suitable for new security designs.
Drop the initial keystream: a release-manifest signature
Entrée
release=2.1.0
artifact=demo.tar.gz
Expected answer
1bdc93f2908505eb835463c7a5d80f66b5a64abbab8dd5026ed539435c1405d496fd531bdc93f2908505eb835463c7a5d80f66b5a64abbab8dd5026ed539435c1405d496fd53
- Phrase secrète
{"option":"UTF8","string":"PublicLegacyKey"}- Format d'entrée
UTF8- Format de sortie
Hex- Nombre de double-mots à supprimer
192
Drop the initial keystream: a webhook-like deployment record
Entrée
{"event":"deploy","project":"demo","ready":true}Expected answer
129b9ae1949814f48b58368ce5be016de3e30eaaba96820368cc74570a1112979ea5752b37a70a44eddff40143e044e5129b9ae1949814f48b58368ce5be016de3e30eaaba96820368cc74570a1112979ea5752b37a70a44eddff40143e044e5
- Phrase secrète
{"option":"UTF8","string":"PublicLegacyKey"}- Format d'entrée
UTF8- Format de sortie
Hex- Nombre de double-mots à supprimer
192
Drop the initial keystream: a unicode name in a signed payload
Entrée
caféExpected answer
0ad89954580ad8995458
- Phrase secrète
{"option":"UTF8","string":"PublicLegacyKey"}- Format d'entrée
UTF8- Format de sortie
Hex- Nombre de double-mots à supprimer
192
Drop the initial keystream: a signature-sensitive trailing newline
Entrée
Hello, World!
Expected answer
21dc93fb9eda4081de083e8db4d821dc93fb9eda4081de083e8db4d8
- Phrase secrète
{"option":"UTF8","string":"PublicLegacyKey"}- Format d'entrée
UTF8- Format de sortie
Hex- Nombre de double-mots à supprimer
192
Drop the initial keystream: an ascii control message
Entrée
sensor=demo temperature=-12.5Expected answer
1adc91e49e845db2d4173dc9e1b70364a4bd4daebd8b8d5b268964431d1adc91e49e845db2d4173dc9e1b70364a4bd4daebd8b8d5b268964431d
- Phrase secrète
{"option":"UTF8","string":"PublicLegacyKey"}- Format d'entrée
UTF8- Format de sortie
Hex- Nombre de double-mots à supprimer
192