Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Encrypt/Decrypt utility functions for any object #236

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

nicolaasuni-vonage
Copy link
Collaborator

@nicolaasuni-vonage nicolaasuni-vonage commented Apr 22, 2024

Description

  • Add ByteEncryptAny and ByteDecryptAny functions to encrypt/decrypt any object to/from byte-slice format.
  • Add EncryptAny and DecryptAny functions to encrypt/decrypt any object to/from string format.

Checklist:

  • The make x command has been run successfully without any error or warning.
  • Any new code line is covered by unit tests and the coverage has not dropped.
  • Any new code follows the style guidelines of this project.
  • The code changes have been self-reviewed.
  • Corresponding changes to the documentation have been made.
  • The version has been updated in the VERSION and examples/service/go.mod files.

Type of change:

  • Minor non-breaking change (e.g., bug fix, dependencies updates) → The patch number in the VERSION file has been increased.
  • New feature (non-breaking change which adds functionality) → The minor number in the VERSION file has been increased.
  • Breaking change (fix or feature that would cause existing functionality to not work as expected) → This requires a major version release.
  • Dependencies.
  • Automation.
  • Documentation.
  • Examples.
  • Testing.

@nicolaasuni-vonage nicolaasuni-vonage requested review from a team as code owners April 22, 2024 13:45
Copy link

sonarcloud bot commented Apr 22, 2024

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8785166309

Details

  • 42 of 42 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 8735062893: 0.0%
Covered Lines: 5556
Relevant Lines: 5556

💛 - Coveralls

@nicolaasuni-vonage nicolaasuni-vonage merged commit 7c95549 into main Apr 22, 2024
12 checks passed
@nicolaasuni-vonage nicolaasuni-vonage deleted the encryptutil branch April 22, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants