S
S
Sergey2015-10-13 12:19:22
Arduino
Sergey, 2015-10-13 12:19:22

Is cryptography possible on arduino?

There is an arduino, a camera for it and a slot for an sd card. Will MK have enough strength if you write an algorithm by which he takes pictures, encrypts the photo and sends it to the sd card? Decryption will be done already on the PC.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
K
Kirill, 2015-10-13
@EternalEnvy

There are very fast and even streaming encryption algorithms. If you take some kind of scrambler, then the speed will be enough for sure.

M
Max, 2015-10-13
@MaxDukov

everything will depend on the time you are willing to wait and the complexity of the algorithm. Basically, why not?

V
Vladimir Martyanov, 2015-10-13
@vilgeforce

Enough.

V
Vitaly Pukhov, 2015-10-14
@Neuroware

There is no need for crutches, here are a few reasons why the duina has nothing to do in this task:
1. Little brains - slowly photographs, slowly encrypts, slowly transmits, etc.
2. Poor photo quality - the sensors that are connected to it in quality are approximately the same as on ancient mobile phones 10-15 years old, at best 640x480 with a noise level in the light as in complete darkness
3. In view of points 1 and 2, practical use is doubtful, yes and the theoretical value is small
4. You need to kill time for porting algorithms
5. A small amount of RAM, you will have to forget about many good algorithms, and those that remain will not protect anyone

V
vanyamba-electronics, 2015-10-22
@vanyamba-electronics

To work with images, you need to process pixels. Each pixel is RGB (24 bits).
The AVR8 microcontroller is 8-bit, that is, it works with bytes (8 bits). To simply copy a pixel, it needs to perform 3 copy operations.
Therefore, a 32-bit microcontroller is more suitable for such tasks.

L
Leonid, 2021-08-26
@sled

Arduino is a platform, you can compile for different chips - AVR8bit, AVR32bit, ESP, STM32, choose according to performance and go ahead.
You connect the library, write the code in which you sequentially:

  1. get a photo from the camera
  2. you encrypt
  3. write to flash

and watch the frame rate, which will depend on the cost of operations (reading, encryption, writing), on the performance of the MK (frequency, bit depth).
Either from Guyver: alexgyver.ru(arduino-libraries) , there is CryptoSuite and AESlib

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question