Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/B-Con/crypto-algorithms
Basic implementations of standard cryptography algorithms, like AES and SHA-1.
https://github.com/B-Con/crypto-algorithms
Last synced: 17 days ago
JSON representation
Basic implementations of standard cryptography algorithms, like AES and SHA-1.
- Host: GitHub
- URL: https://github.com/B-Con/crypto-algorithms
- Owner: B-Con
- Created: 2012-09-13T07:02:35.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-12-28T06:38:19.000Z (almost 4 years ago)
- Last Synced: 2024-10-15T10:42:55.041Z (29 days ago)
- Language: C
- Homepage:
- Size: 261 KB
- Stars: 1,806
- Watchers: 81
- Forks: 687
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
crypto-algorithms
=================About
---
These are basic implementations of standard cryptography algorithms, written by Brad Conte ([email protected]) from scratch and without any cross-licensing. They exist to provide publically accessible, restriction-free implementations of popular cryptographic algorithms, like AES and SHA-1. These are primarily intended for educational and pragmatic purposes (such as comparing a specification to actual implementation code, or for building an internal application that computes test vectors for a product). The algorithms have been tested against standard test vectors.This code is released into the public domain free of any restrictions. The author requests acknowledgement if the code is used, but does not require it. This code is provided free of any liability and without any quality claims by the author.
Note that these are *not* cryptographically secure implementations. They have no resistence to side-channel attacks and should not be used in contexts that need cryptographically secure implementations.
These algorithms are not optimized for speed or space. They are primarily designed to be easy to read, although some basic optimization techniques have been employed.
Building
---
The source code for each algorithm will come in a pair of a source code file and a header file. There should be no inter-header file dependencies, no additional libraries, no platform-specific header files, or any other complicating matters. Compiling them should be as easy as adding the relevent source code to the project.