Giter Site home page Giter Site logo

sha-1-encryption-stm32f429-and-algoritm-c's Introduction

SHA-1-Encryption-STM32F429-and-Algoritm-C

  • Secure Hash Algorithms, also known as SHA, are a family of cryptographic functions designed to keep data secured. It works by transforming the data using a hash function: an algorithm that consists of bitwise operations, modular additions, and compression functions. The hash function then produces a fixed-size string that looks nothing like the original. These algorithms are designed to be one-way functions, meaning that once they’re transformed into their respective hash values, it’s virtually impossible to transform them back into the original data. A few algorithms of interest are SHA-1, SHA-2, and SHA-3, each of which was successively designed with increasingly stronger encryption in response to hacker attacks. SHA-0, for instance, is now obsolete due to the widely exposed vulnerabilities.

  • A lot of times when you work on some project, you want to display data on computer. This can be done with USART peripheral on MCU. With USART you can connect more than just computer, you can connect with GSM modules, GPRS, bluetooth and so much more. Our discovery board supports up to 8 USART channels. In this tutorial we will use USART1 to show principle how to use USART in our project. But first, we have to initialize our pins and peripheral.

  • This example runs on STM32F407xx/417xx, STM32F429xx and STM32F439xx devices on STM32 Standard Peripheral Libraries.

U(S)ARTx TX RX APB
USART1 PA9 PA10 2
USART2 PA2 PA3 1
USART3 PA10 PB11 1
USART4 PA0 PA1 1
USART5 PC12 PD2 1
USART6 PC6 PC7 1
USART7 PE8 PE7 1
USART7 PE1 PE0 1

Hyperterminal configuration:

- Word Length = 8 Bits
- One Stop Bit
- No parity
- BaudRate = 115200 baud
- flow control: None

USART1 uses pins

  • PA9 -TX for transmitting data
  • PA10 -RX for receiving data;

LED3 & LED4 uses pins

  • PG13 green led
  • PG14 yellow led But first a bit of history of how DES came about is appropriate, as well as a look toward the future.

Algoritm

**Source:

sha-1-encryption-stm32f429-and-algoritm-c's People

Contributors

lbeatu avatar

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.