anchor.diff:  -include_lib("kernel/include/net_address.hrl").
   -include_lib("kernel/include/dist.hrl").
   -include_lib("kernel/include/dist_util.hrl").
  +
  +%% -------------------------------------------------------------------------
  +
  +-record(params,
  +        {socket,
  +         dist_handle,
  +         public_key_type,
  +         public_key_params,
  +         hmac_algorithm,
  +         aead_cipher,
  +         iv,
  +         key,
  +         tag_len,
  +         rekey_interval
  +        }).
  +
  +current_params(Socket) ->
  +    #params{
  +       socket = Socket,
  +       public_key_type = ecdh,
  +       public_key_params = brainpoolP384t1,
  +       hmac_algorithm = sha256,
  +       aead_cipher = aes_gcm,
  +       iv = 12,
  +       key = 16,
  +       tag_len = 16,
  +       rekey_interval = 32768}.
   
   %% -------------------------------------------------------------------------
   %% Erlang distribution plugin structure explained to myself
  
positive.code: 
  %% -------------------------------------------------------------------------
  
  -record(params,
          {protocol, % Encryption protocol tag
           socket,
           dist_handle,
           hash_algorithm,
           block_crypto,
           rekey_interval,
           iv,
           key,
           tag_len}).
  
  -define(TCP_ACTIVE, 16).
  -define(CHUNK_SIZE, (65536 - 512)).
  
  
negative.code:                 <<Ciphertext:CiphertextLen/binary,
                    CipherTag:TagLen/binary>> ->
                      block_decrypt(
                        Params, Seq, AeadCipher, Key, IVBin,
                        {AAD, Ciphertext, CipherTag});
                  _ ->
                      error
  