mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
16 lines
358 B
Text
16 lines
358 B
Text
# @TEST-EXEC: bro -b %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
print sha1_hash("one");
|
|
print sha1_hash("one", "two", "three");
|
|
|
|
sha1_hash_init("a");
|
|
sha1_hash_init("b");
|
|
|
|
sha1_hash_update("a", "one");
|
|
sha1_hash_update("b", "one");
|
|
sha1_hash_update("b", "two");
|
|
sha1_hash_update("b", "three");
|
|
|
|
print sha1_hash_finish("a");
|
|
print sha1_hash_finish("b");
|