mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
27 lines
560 B
Perl
27 lines
560 B
Perl
### Empty
|
|
{
|
|
type => "tfns",
|
|
name => "sha1",
|
|
input => "",
|
|
output => "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
|
|
ret => 1,
|
|
},
|
|
|
|
### Basic
|
|
{
|
|
type => "tfns",
|
|
name => "sha1",
|
|
input => "TestCase",
|
|
output => "\xa7\x0c\xe3\x83\x89\xe3\x18\xbd\x2b\xe1\x8a\x01\x11\xc6\xdc\x76\xbd\x2c\xd9\xed",
|
|
ret => 1,
|
|
},
|
|
|
|
### Binary w/NUL
|
|
{
|
|
type => "tfns",
|
|
name => "sha1",
|
|
input => "\x00\x01\x02\x03\x04\x05\x06\x07\x08",
|
|
output => "\x63\xbf\x60\xc7\x10\x5a\x07\xa2\xb1\x25\xbb\xf8\x9e\x61\xab\xda\xbc\x69\x78\xc2",
|
|
ret => 1,
|
|
},
|