rust-radius icon indicating copy to clipboard operation
rust-radius copied to clipboard

Code duplication in salt_encrypt/encrypt & salt_decrypt/decrypt

Open MikhailMS opened this issue 4 years ago • 0 comments

Looks like:

  1. Loop in encrypt_data is similar to the one in salt_encrypt_data
  2. Loop in decrypt_data is similar to the one in salt_decrypt_data

so there is a potential to move loops into thier own small functions

MikhailMS avatar May 03 '21 17:05 MikhailMS