Function EncryptString

  • Parameters

    • str: string

      some clear text data

    • password: string

      Password used to generate key, use GenerateEncryptPassword to generate it.

    • algorithm: string = "aes-256-cbc"

    Returns string

    2.0.7

    2020-07-11