nandlabs / go-commons

A common collection of utilities for Go programming language
Apache License 2.0
2 stars 2 forks source link

AES Encrypt and Decrypt Util #38

Closed nandagopalan closed 1 year ago

nandagopalan commented 1 year ago

Create a utility for AES Encryption and Decryption

  1. Use String as well as Bytes inout
nandagopalan commented 1 year ago

Added 4 methods in the secrets package

  1. AesEncryptStr
  2. AesEncrypt
  3. AesDecryptStr
  4. AesDecrypt