GithubHelp home page GithubHelp logo

northstrix / des_and_3des_library_for_mcus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fcgdam/des_library

0.0 0.0 1.0 92 KB

DES and Triples DES encryption and decryption for the ESP8266, ESP32, Raspberry Pi Pico, STM32, and any compatible board.

License: GNU General Public License v3.0

C++ 90.01% C 5.69% Makefile 4.30%

des_and_3des_library_for_mcus's Introduction

Changes in the fork DES_and_3DES_Library_for_MCUs by Northstrix:

  1. Made it compatible with the ESP32, Raspberry Pi Pico, and STM32F103C8T6 by removing several unused lines;
  2. Removed unused examples and added the new ones.

Please see the full documentation at http://spaniakos.github.io/ArduinoDES

DES_Library

This project is a fork from ArduinoDES project that implements a DES and Triple DES encryption and decryption library for the Arduino and Rpi.

I've made some changes so that this library can be used and compiled in ESP8266 Sming Framework based projects.

For the original library and instructions, please refer to https://github.com/Octoate/ArduinoDES.git

Usage

It is possible to encrypt and decrypt messages with the DES or Triples DES crypto algorithms. Have a look at the example code for more information.

To use in Sming framework, just copy the DES.cpp file for the app directory, and the include files DES.h and DES_config.h for the include directory.

On the main application include the DES.h file, and the encryption and decryption API is now available.

#include <SmingCore/SmingCore.h>
#include <DES.h>

Under the directory examples_ESP8266 there is a example *application.cpp file that mimics the original example.

License

Library for DES and 3DES encryption and decryption Ported to the Arduino platform 2013 by Tim Riemann

Original version taken from the AVR-Crypto-Lib (http://www.das-labor.org/wiki/AVR-Crypto-Lib) Copyright (C) 2006-2010 Daniel Otte ([email protected])

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

des_and_3des_library_for_mcus's People

Contributors

fcgdam avatar northstrix avatar octoate avatar spaniakos avatar

Forkers

raofei

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.