-
Notifications
You must be signed in to change notification settings - Fork 9
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
WIP: sha256sum applet #46
base: master
Are you sure you want to change the base?
Conversation
Wow I love the implementation @eamonlm this is a great community PR!!!! |
const stdout = &std.io.getStdOut().outStream().stream; | ||
|
||
pub fn sha256(name: []const u8) !void { | ||
// encoding function |
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.
Maybe you should implement sha256 here?
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.
Still waiting for this feature! Super excited!
// return sha256sum of each argument given | ||
for (args) |arg, i| { | ||
if(i != 0){ | ||
|
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.
Interesting... I see what you are planning but I don't see any actual code here. Is this planned?
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.
@eamonlm would love to hear your response to @sambattalio's question
Please remember from our CoC @eamonlm: "Please recognize that criticism of your statements is not a personal attack on you. If you feel that someone has attacked you, or offended your personal dignity, please don't “hit back” with another personal attack. That tends to start a vicious circle of escalating verbal aggression. A private response, politely stating your feelings as feelings, and asking for peace, may calm things down. Write it, set it aside for hours or a day, revise it to remove the anger, and only then send it." |
Working on creating an implementation of the sha256sum command in zig.