mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
14 lines
493 B
Text
14 lines
493 B
Text
# @TEST-EXEC: bro -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
global default_alphabet: string = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
|
|
global my_alphabet: string = "!#$%&/(),-.:;<>@[]^ `_{|}~abcdefghijklmnopqrstuvwxyz0123456789+?";
|
|
|
|
print encode_base64("bro");
|
|
print encode_base64_custom("bro", default_alphabet);
|
|
print encode_base64_custom("bro", my_alphabet);
|
|
|
|
print encode_base64("padding");
|
|
print encode_base64("padding1");
|
|
print encode_base64("padding12");
|