code: def scramble(password, message):
      SCRAMBLE_LENGTH = 20
      stage1 = sha_new(password.encode("utf-8")).digest()
      stage2 = sha_new(stage1).digest()
      s = sha_new()
      s.update(message[:SCRAMBLE_LENGTH].encode("utf-8"))
      s.update(stage2)
      result = s.digest()
      return _my_crypt(result, stage1)
  
file_path: mindsdb/mindsdb/api/mysql/mysql_proxy/external_libs/mysql_scramble.py
imports: import hashlib
  from functools import partial
  import struct
  import io
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: scramble(password, message) and returns: _my_crypt