-
-
Notifications
You must be signed in to change notification settings - Fork 393
ExprHash cleanup #7742
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
Merged
sovdeeth
merged 11 commits into
SkriptLang:dev/feature
from
OfficialDonut:exprhash-cleanup
Jun 3, 2025
Merged
ExprHash cleanup #7742
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4796839
ExprHash cleanup
OfficialDonut 5d5078d
Apply suggestions from code review
OfficialDonut b01caf2
Changes from review
OfficialDonut 43a1624
Update src/main/java/ch/njol/skript/expressions/ExprHash.java
OfficialDonut ec16d4d
Changes from review
OfficialDonut bf6a47d
Apply suggestions from code review
OfficialDonut 13d6e24
Update src/main/java/ch/njol/skript/expressions/ExprHash.java
OfficialDonut 50bdb71
Use ScriptWarning.DEPRECATED_SYNTAX
OfficialDonut be55c69
Update src/main/java/ch/njol/skript/expressions/ExprHash.java
OfficialDonut d0fec56
Fix compile
OfficialDonut 7e256c4
Merge branch 'dev/feature' into exprhash-cleanup
sovdeeth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
test "MD5 hash": | ||
assert "hello world" hashed with MD5 is "5eb63bbbe01eeed093cb22bb8f5acdc3" with "incorrect hash" | ||
|
||
test "SHA-256 hash": | ||
assert "hello world" hashed with SHA-256 is "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9" with "incorrect hash" | ||
|
||
test "SHA-384 hash": | ||
assert "hello world" hashed with SHA-384 is "fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd" with "incorrect hash" | ||
|
||
test "SHA-512 hash": | ||
assert "hello world" hashed with SHA-512 is "309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f" with "incorrect hash" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.