Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [encryption]

Encryption is the act of converting data to a form that is unreadable except for those who have the key for that data.

0
votes
2answers
42 views

Can modular operation used along with bit shif for cryptography? [on hold]

Let a be input value, k1 and k2 be two keys. Then X=(a+k1) mod m; X=(x<<4); Y=x^k2; Can i decrypt back? Because i am not getting exact answer while ...
0
votes
0answers
13 views

atcab_get_pubkey Blocks the code until break point is set

I'm using the cryptoauthentiction lib from microship, and I'm trying to get a public key from it using the function in the code listing below. atcab_get_pubkey https://github.com/ALLTERCO/mongoose-...
0
votes
1answer
63 views

Reading data from an iPhone 5 [closed]

A close person got hit by a car and died a few years ago. The persons iPhone flew trough the air. The police was not able to turn it on and mentioned that it would be impossible to collect data from ...
0
votes
2answers
55 views

How to find efficient hardware implementation of sbox of lightweight block ciphers?

Lightweight block ciphers are usually optimized for compact hardware implementations and sbox values are computed by implementing circuit using basic logic gates(AND, XOR, OR, NOR etc). What is the ...
0
votes
1answer
139 views

Protect Code inside Microcontroller [closed]

As a preface, what I am asking is highly related to this question. That said, the question linked was asked in 2011 (7 years ago), and I imagine the microcontroller world has changed (at least to ...
3
votes
3answers
355 views

Are Civilian GPS signals cryptographically signed?

As far as I understand, receiving enough GPS signals at the same time enables to deduce the position and the time. So I guess it is possible to use an offline receiver as a very precise clock? If so,...
0
votes
1answer
288 views

How to implement AES Encrypting for ESP8266 implemented on Hardware?

I need to write a basic encryption program for ESP8266. I did read the datasheet (https://www.espressif.com/sites/default/files/documentation/0a-esp8266ex_datasheet_en.pdf), and them says that existis ...
0
votes
0answers
278 views

Mass Production: Espressif prodution programming, serial and tests

I am hitting the production phase of my project very soon and the production programming part is still blurry. I am using the ESP32 Wroom-32 module, and it seems like no professional module has yet ...
0
votes
1answer
102 views

How can I design a Caesar cipher encrypter and decrypter without using Non-programmable circuit components?

My device should be able to take an input from A-Z and another input to from 0-25 and finally a Encrypt or Decrypt option. Currently I have given A a code of 0000, B 0001... so on and the output will ...
0
votes
1answer
373 views

STM32F4 Discovery AES Encryption Problem

I am trying to implement very basic AES192-CBC Mode encryption routine on STM32F407 Discovery board and I want to do that process with the onboard Cryptographic processor in STM32F407 MCU. I copied ...
4
votes
1answer
944 views

Is there a preferred encryption scheme for encrypting firmware builds on external flash?

I have a product that is going to be deployed in large numbers, and I want to maximize the trouble that someone is going to go through to reverse engineer it (a high level of security). It is an ...
-3
votes
1answer
76 views

DES Cryptoprocessor ISA design [closed]

In my understanding, to design a microprocessor, we start by implementing its ISA (instruction set architecture) that describes its behaviour, then its microarchitecture, which describes its structure....
0
votes
0answers
274 views

FPGA RSA implementation: Montgomery Multiplication issues

I'm implementing RSA 1024 in hardware (xilinx ZYNQ FPGA), and am unable to figure out a few curious issues. Most notably, I am finding that my implementation only works for certain base/exponent/...
2
votes
1answer
4k views

Straight forward method of adding encrypted third party models to LTSpice's Model Tree

I have >20 different types of MOSFET from fairchild that I would like to add to LTSpice's model tree. Fairchild encrypts their libraries. What is a straight forward method of adding their libraries to ...
0
votes
2answers
476 views

Parameter vs macros to control which function is called

I am working on an AES encryptor/decryptor project that can handled AES-128, AES-192, and AES-256. The cipher key length is chosen at compile time. The module I am working on generates the key ...
1
vote
2answers
108 views

can't solve latches

I would like to ask if someone could help me with some latches in my desing. I am working with an aes encrypt core taken from opencores and I have described in vhdl the surrounding system to ...
3
votes
3answers
394 views

Plausable deniablity / steganography in radio transmission

Normally in a wartime scenario etc. strict radio silence is observed to prevent the enemy from evesdropping on your transmissions. Encryption solves a part of the problem. Now the enemy cannot ...
1
vote
1answer
155 views

How to ensure your MCU can't be reverse engineered?

I am building a project around an nRF51822 chip from Nordic, using the mbed prototyping platform. I would like to ensure that the code cannot be extracted / deduced from the project after it has been ...
4
votes
1answer
134 views

CBC-MAC implementation optimised for 8-bit MCUs

Does anyone know if there's an CBC-MAC implementation designed/optimised for 8-bit (8051-based) MCUs? I was hoping to find one in the AVR-Crypto Lib but there doesn't seem to be one. CBC-MAC for 8-bit ...
0
votes
1answer
281 views

8051 and SHA-1 implementation

I'm hoping to benchmark SHA-1 on a 8051 micro controller, so I'm looking for an efficient implementation of (HMAC) SHA-1 for the 8051. C or assembly works for me. Given the age of both SHA-1 and 8051, ...
2
votes
1answer
142 views

Controlling the number of devices manufactured by a licensed manufacturer

Problem A small company is trying to outsource manufacturing to a small 3rd party factory. The products are consumer grade electronic devices and do not require any special certification besides CE ...
0
votes
2answers
574 views

Is it possible to protect smart card from being copied?

I'm currently working on SLE4442 smart card. I'm trying to make a payment system. but the card has to be "copy-protected" what I mean here is that if that data on the card is copied as it's, this data ...
0
votes
2answers
358 views

Statistically, which embedded system is the most used in Cryptography/Security? [closed]

I am considering to buy an embedded system development platform (electronic board + software) for Cryptography and Computer Security. Statistically, which embedded system is the most used in ...
3
votes
1answer
821 views

SIM card used as secure storage with AVR

I would like to use a regular SIM card to store an AES key to be used by an AVR micro-controller. I think that a SIM is secure enough (isn't it?). My problem is that I can find nothing about ...
2
votes
1answer
3k views

AVR - NRF24L01+ : Encrypt Data Transmission

I have a pair of AVR's that communicate over the 2.4GHz link using NRF24l01+. The payload sent is 5 bytes long. Right now the payload sent is in clear format so that anyone with enough knowledge and ...
1
vote
1answer
83 views

Adding a router (no key) to an encrypted Zigbee network

Backstory: I'm looking to extend the range of a proprietary wireless system. From looking at diagnostic data I think it uses a 2.4GHz ZigBee network, propably Mesh configuration. It might not be ...
3
votes
1answer
443 views

Is my avalanche noise “random?”

I'm working on a hardware random number generator based on the below design. It uses two reverse P-N junctions to create avalanche noise. I was looking at the circuit with my oscilloscope, and I ...
0
votes
1answer
273 views

Physical Implementation of RSA on Embedded Systems

RSA can be used to prevent unwanted software modifications on an embedded system. How can this encryption algorithm be implemented physically? I mean, which peripheral/main units can be used to check ...
4
votes
4answers
432 views

Data Encryption in Vacuum Tube Times

Today with the help of integrated circuit, data encryption is used in transferring all kind of data in wireless communication. But back to some early days when people build telegram transmitter with ...
1
vote
2answers
326 views

Encrypting a JDEC file in Lattice MachxO2

I am working on lattice MachxO2 FPGA. Our customer is asking to to encrypt the JDEC file (the bit file). How do I do this? There is sample Unencrypted JDEC file and some information given here ...
5
votes
1answer
370 views

Implementation of AES algorithm using Systolic architecture

I need to generate a VLSI Systolic array to implement the AES encryption algorithm with key length of 128 bits. Following are the possible ways : Systolic for Key expansion Systolic in MixColumn ...
6
votes
2answers
310 views

Is there any possibility of dissecting a microchip to get data from its internal memory?

There are many devices that perform various cryptographic operations inside their microchips. One of their key feature is that the secret keys are stored inside of the hardware and never leave it. ...
3
votes
0answers
2k views

Any good RSA/DSA chips? [closed]

I would like to find a chip that can do public key encryption/decryption, maybe RSA or DSA. Particularly the key needs to be securely stored on chip. Can anyone suggest some choices? (Update) Since I ...
7
votes
2answers
2k views

Encrypt sensitive data in EEPROM

Let's say I have a PIC and an EEPROM memory IC. I store sensitive data in the EEPROM. If I want to encrypt the data what is a good encryption algorithm? It should be executed by the PIC but that does ...
2
votes
2answers
2k views

2 Ethernet Ports and a FPGA

I need to develop an Ethernet encryption scheme. All that needs to be done is take the input on Ethernet and encrypt the packets and send them out the output Ethernet. Is there ANY way I could do this ...
5
votes
1answer
1k views

DIY: hardware encrypted pendrive

I would like to build a hardware encrypted (at least AES-128) pen drive for myself. Which micro controller and which storage technology do you recommend? I've been experimenting with a PIC32 and a 2GB ...
37
votes
7answers
20k views

Smallest AES implementation for microcontrollers?

Can anyone recommend a small, free implementation of AES-128 Rijndael for microcontrollers. Ideally, for the PIC18, though a general implementation in C would be useful. Compiling the axTLS ...
12
votes
4answers
7k views

SSL from a Microcontroller

I am wanting make an embedded device that can communicate with a web-server in a secure fashion. My preference would be for it to use standard SSL so the web-server views my device similar to a web ...
6
votes
3answers
4k views

AES-128 Chip Solutions

Project The system is effectively a sensor network that connects to a star topology routing network. The Identities of each node's identity must be kept secret from all listeners as the range of the ...
9
votes
3answers
11k views

Securing code on an AVR/Arduino and delivering updates

What is the best way to protect code flashed onto any AVR based device from reverse engineering? What is an easy way to provide updates to end users to flash on their own without disclosing the code? ...
8
votes
7answers
15k views

Encryption Library for Arduino

I am using an Arduino to read a keypad and open an electric strike upon keypad PIN entry. For this sketch I wanted to use some sort of lightweight encryption to store the PINs in EEProm. Does anyone ...