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

Improving the program by changing the data type of hash #33

Open
sukumar-poojari opened this issue Jul 24, 2015 · 0 comments
Open

Improving the program by changing the data type of hash #33

sukumar-poojari opened this issue Jul 24, 2015 · 0 comments
Assignees
Milestone

Comments

@sukumar-poojari
Copy link
Contributor

Description :
Approach is to enhance the storing of hash. The current way of storing the hashes is not efficient.
Hashes are stored in string format which consumes more space i.e 32 bytes(md5). The hash generated are hexadecimal of 16 bytes(md5). Storing the same as integer can bring down the number of bytes to 16. Thus the amount of space taken by the stub and hash store can be reduced.

@sukumar-poojari sukumar-poojari self-assigned this Jul 24, 2015
@sukumar-poojari sukumar-poojari added this to the yadl 1.0 milestone Jul 24, 2015
sukumar-poojari added a commit that referenced this issue Jul 29, 2015
…33

/*
Accepts a string and generate a 16 byte digest using md5
this digest is converted into hexadecimal string using parse
and converts this hexadecimal into 16 byte digest using unparse
*/

Signed-off-by: Sukumar <[email protected]>
sukumar-poojari added a commit that referenced this issue Jul 30, 2015
…33

/*
Prototype to parse and unparse the hash value.
Current program :
Takes a string and hash type it generates digest of
perticular hash for a given string and converts this digest
to a hexadecimal digits using parse.
The hexadecimal digits are converted back into digest
using unparse.
*/

Signed-off-by: Sukumar <[email protected]>
josephaug26 added a commit that referenced this issue Aug 3, 2015
Improving the program by changing the data type of hash while storing #33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant