Skip to content

Conversation

@jaissica12
Copy link
Contributor

@jaissica12 jaissica12 commented Nov 3, 2025

Background

  • Initially only partners had the access to hashAttributes method since it was only accessible through kit. To unlock the advertisers from using hashAttributes we add the same logic from sdk-web to roktManager.hashAttributes method.
  • Code reference: attribute-service , hash-string, rokt-docs

What Has Changed

  • Added hashing functionality in hashAttributes method
  • Added unit tests for hashing. Referred the same test cases from sdk-webto compare the hashed values

Screenshots/Video

  • {Include any screenshots or video demonstrating the new feature or fix, if applicable}

Checklist

  • I have performed a self-review of my own code.
  • I have made corresponding changes to the documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have tested this locally.

Additional Notes

  • {Any additional information or context relevant to this PR}

Reference Issue (For employees only. Ignore if you are an outside contributor)

@jaissica12 jaissica12 changed the title feat (roktManager): add local SHA-256 hashing logic in hashAttributes feat: add local SHA-256 hashing logic in hashAttributes Nov 3, 2025
@jaissica12 jaissica12 requested a review from rmi22186 November 3, 2025 20:39
@jaissica12 jaissica12 marked this pull request as draft November 13, 2025 16:39
@sonarqubecloud
Copy link

@jaissica12 jaissica12 closed this Nov 17, 2025
@jaissica12
Copy link
Contributor Author

jaissica12 commented Nov 17, 2025

Created new PR

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.

4 participants