crypto-algorithms icon indicating copy to clipboard operation
crypto-algorithms copied to clipboard

Basic implementations of standard cryptography algorithms, like AES and SHA-1.

Results 32 crypto-algorithms issues
Sort by recently updated
recently updated
newest added

`sha256("abc")` should give: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f200‌​15ad but calculates wrong 2bb53935edbba17dc04a04854518754d8a66484491b585b0d0700cd2512f5420 instead. See also https://stackoverflow.com/questions/22880627/sha256-implementation-in-c It seems not to be an endianess issue. Any idea?

https://github.com/B-Con/crypto-algorithms/blob/master/blowfish.c#L248 On this line it says that the key size supported is 56 bytes (448 bits) or less. However, I believe that this actually supports a key size of up...

There is a small typo in arcfour.h. Should read `length` rather than `lenth`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

The sha256 output of "aaaaaaaaaa" should be 0xbf2cb58a68f684d95a3b78ef8f661c9a4e5b09e82cc8f9cc88cce90528caeb27.

Add interface to func 'aes_decrypt_cbc'.

We would like to integrate the files but need a known licence to know if we are allowed or not. Could you please add a licence file?

ctx->data[63] = ctx->bitlen; ctx->data[62] = ctx->bitlen >> 8; ctx->data[61] = ctx->bitlen >> 16; ctx->data[60] = ctx->bitlen >> 24; ctx->data[59] = ctx->bitlen >> 32; ctx->data[58] = ctx->bitlen >> 40; ctx->data[57] =...

int md5_file(char * name, char * out) { if (name == NULL || out == NULL) { return -1; } MD5_CTX ctx; md5_init(&ctx); struct stat st; if(-1 == stat(name, &st))...