Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

WIP: sha256sum applet #46

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 26, 2020

Working on creating an implementation of the sha256sum command in zig.

@sambattalio
Copy link
Member

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
Copy link
Member

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?

Copy link
Member

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){

Copy link
Member

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?

Copy link
Member

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

@sambattalio sambattalio linked an issue Feb 26, 2020 that may be closed by this pull request
@ghost ghost requested review from sambattalio and removed request for sambattalio February 26, 2020 18:25
@sambattalio
Copy link
Member

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."

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.

sha1sum / sha2 utilities
2 participants