(self, edit)
| 371 | |
| 372 | class Md5EncryptTextCommand(sublime_plugin.TextCommand): |
| 373 | def run(self, edit): |
| 374 | text = get_buffer_text(self.view).strip('\n') |
| 375 | text = hashlib.md5(text.encode()).hexdigest() |
| 376 | panel_print(self.view, edit, text) |
| 377 | |
| 378 | |
| 379 | class Md5EncryptLineCommand(sublime_plugin.TextCommand): |
nothing calls this directly
no test coverage detected