Skip to content

Conversation

@brizzinck
Copy link
Member

No description provided.

@brizzinck brizzinck self-assigned this Jun 24, 2025
@brizzinck brizzinck requested a review from Copilot June 24, 2025 11:38

This comment was marked as outdated.

@brizzinck brizzinck changed the title Add YaHash, implemented Hash64 and Hash64WithTime Add YaHash, implemented hash which checks time correctly Jun 25, 2025

This comment was marked as outdated.

@brizzinck brizzinck requested a review from Copilot June 25, 2025 00:09

This comment was marked as outdated.

@brizzinck brizzinck requested a review from Copilot June 25, 2025 00:12

This comment was marked as outdated.

@brizzinck brizzinck requested a review from Copilot June 25, 2025 00:15

This comment was marked as outdated.

@YaCodeDev YaCodeDev deleted a comment from Copilot AI Jun 25, 2025
@YaCodesDevelopment YaCodesDevelopment changed the title Add YaHash, implemented hash which checks time correctly Add YaHash, optionally timed access hash implementation Jun 25, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces YaHash, a helper for generating deterministic, optionally time‐bound hashes for tasks like token generation and cache key validation.

  • Adds the main hash implementation in yahash.go with support for time‑based validation and custom back window.
  • Provides comprehensive tests in yahash_test.go to ensure deterministic and correct behavior of the hash functions.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
yahash/yahash_test.go Test cases for deterministic hash generation and validation functionality.
yahash/yahash.go New hash helper implementation with optional time‑bound token generation.

@YaCodesDevelopment YaCodesDevelopment merged commit 084f5cb into main Jun 25, 2025
1 check passed
@YaCodesDevelopment YaCodesDevelopment deleted the features/yahash branch June 25, 2025 17:14
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