MCPcopy
hub / github.com/apache/caldera / encode_string

Method encode_string

app/utility/base_world.py:55–56  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

53
54 @staticmethod
55 def encode_string(s):
56 return str(b64encode(s.encode()), 'utf-8')
57
58 @staticmethod
59 def jitter(fraction):

Callers 15

operation_loopMethod · 0.80
_accept_beaconMethod · 0.80
_beaconMethod · 0.80
add_test_variantsMethod · 0.80
obfuscate_commandsMethod · 0.80
replace_app_propsMethod · 0.80
taskMethod · 0.80
__init__Method · 0.80
testMethod · 0.80
read_result_fileMethod · 0.80
_saveMethod · 0.80

Calls 1

encodeMethod · 0.45