Skip to content

Conversation

@rohan-chaturvedi
Copy link
Member

@rohan-chaturvedi rohan-chaturvedi commented May 2, 2023

Description

Replaces hex encoding with base64 to optimize the size of ciphertext strings.

Changes

  • Updated the encryptString and decryptString utils to use b64 encoding / decoding instead of hex
  • Updated the regex in the tests to validate that the ciphertext is a base64 string
  • Bumped the package version to 2.0.0

@rohan-chaturvedi rohan-chaturvedi requested a review from nimish-ks May 2, 2023 10:35
@nimish-ks nimish-ks merged commit 6f1f207 into main May 2, 2023
@nimish-ks nimish-ks deleted the b64 branch May 2, 2023 10:54
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