Updating package with the support of AES GCM based encryption of password field. PBKDF2 is used to derive the key which is then used in AES encryption.
Unit test output:
=== RUN TestEncryptDecrypt
--- PASS: TestEncryptDecrypt (0.01s)
crypto_test.go:24: Test encryption decryption using AES GCM
crypto_test.go:33: Success: Decryption provided correct plain text
crypto_test.go:40: Success: Decrypting tampered cipher text doesn't give anything
crypto_test.go:47: Success: Decryption with different Master key doesn't work.
Updating package with the support of AES GCM based encryption of password field. PBKDF2 is used to derive the key which is then used in AES encryption.
Unit test output:
Signed-off-by: dheerajng dhiraj.gedam@citrix.com