<commit_before>
{config} = require './config'

##=======================================================================

class Client

  constructor : (@_eng, @_vo) ->

  derive_key : (mode, cb) ->
    inp = @_eng.new_input mode, config.server
    
    # We're going to force use of this version object, regardless of what
    # the input says.  In practice, we're going to be using V2 for MAC and AES,
    # even though V1 might still be used for WEB_PWs....
    inp.derive_key cb
      
  login : () ->
    args =
      email : @_eng._inp.get 'email'<commit_msg>a bit more of work, but not mcuh<commit_after>
{config} = require './config'

##=======================================================================

class Client

  constructor : (@_eng) ->

  derive_key : (mode, cb) ->
    inp = @_eng.new_input mode, config.server
    
    # We're going to force use of this version object, regardless of what
    # the input says.  In practice, we're going to be using V2 for MAC and AES,
    # even though V1 might still be used for WEB_PWs....
    inp.derive_key cb
      
  login : () ->
    await @derive_key derive.keymodes.LOGIN_PW, defer pwh
    args =
      email : @_eng._inp.get 'email'
      pwh : pwh
{'fraction_non_alphanumeric': 0.21364009860312244, 'fraction_numerical': 0.003286770747740345, 'mean_word_length': 2.941747572815534, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3056548', 'n_tokens_mistral': 387, 'n_tokens_neox': 370, 'n_words': 130}