-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 digest(utf8, method) function and refactor all current hash digest functions #1090
Conversation
d9f74cf
to
2aad9be
Compare
Looks good to me overall, but one of the tests is failing. |
bef6f05
to
88cd2d4
Compare
please note that
|
builtin |
@houqp all suggestions incorporated, PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great work @jimexist !
test_expression!("sha384('tom')", "096f5b68aa77848e4fdf5c1c0b350de2dbfad60ffd7c25d9ea07c6c19b8a4d55a9187eb117c557883f58c16dfac3e343"); | ||
test_expression!("digest('tom','sha384')", "096f5b68aa77848e4fdf5c1c0b350de2dbfad60ffd7c25d9ea07c6c19b8a4d55a9187eb117c557883f58c16dfac3e343"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
Thanks @jimexist |
Which issue does this PR close?
add digest(utf8, method) function and refactor all current hash digest functions, refactor the current crypto function module
Closes #1093
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?