ndudnicz / ft_sha256 Goto Github PK
View Code? Open in Web Editor NEWsha256 implementation in C.
sha256 implementation in C.
Is the SWAP in hash.c's STEP0_15 define needed in both big and little endian ?
SHA256(Makefile)= 4277e9df2e5b0f787a15f11326142182f0eebffa557c232a1f08c36eb6f9861c
real 0m0.004s
user 0m0.001s
sys 0m0.001s
SHA256(Makefile)= b5e861a6fc084f1a71cfb5bde02881a31c5b19d1de7eed6d3fff382beb480b13
real 0m0.004s
user 0m0.002s
sys 0m0.001s
$> ./ft_sha256 -f Makefile
SHA256(Makefile)= c75b9219664dc3166936f98912b9cc458485f4e0d1e94465f9724d09ac5da628
=================================================================
==14596==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 512 byte(s) in 1 object(s) allocated from:
#0 0x7fb10ebcced0 in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1ed0)
#1 0x55d0c13d93fb in fit_data src/fit_data.c:14
Direct leak of 9 byte(s) in 1 object(s) allocated from:
#0 0x7fb10ebccd28 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1d28)
#1 0x7fb10e7eb3b9 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x803b9)
SUMMARY: AddressSanitizer: 521 byte(s) leaked in 2 allocation(s).
compile with -g -fsanitize=address flags
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.