Kryptor FPGA

by Skudo OÜ

A one-chip hardware security module (HSM) and MAX10 FPGA dev board

View all updates Aug 31, 2021

How to encrypt data with SKUDO Kryptor HSM

by Piret Uustal

SKUDO Kryptor HSM is a great tool for makers to encrypt any kind of data with an easy, plug and play solution. Following, we have prepared for you a step-by-step tutorial to familiarize you with some simple but strong encryption procedures and to demonstrate how to connect the Kryptor HSM FPGA to a Raspberry Pi and exchange encrypted sensor data (anyone can replace this according to their own needs) between two Raspberry Pi’s.

One very popular and secure approach to securing a data communication channel is to use the ECDH algorithm to generate a secret shared key. This method relies on the properties of Elliptic Curves (ECC) and the exchange of the public keys between the two parties that want to safely communicate (which is also used with the popular TLS 1.3 protocol). The two parties (in our case, two RPi’s) need to generate each a key pair (one set of public and private keys), exchange with each other just the public one (which doesn’t need to be protected), and then run some keys through the ECDH key agreement protocol. The latter will return a “secret shared key” (known to both parties but obtained by exchanging only the public keys) which can be used to encrypt the data between the two.

We’ve created a step-by-step tutorial so you can see in practice how to use the SKUDO Kryptor board equipped with the Skudo HSM softcore to implement the above encryption scheme and allow a secure exchange (end-to-end encrypted) of some data.

We hope this tutorial gives you some insight into how SKUDO Kryptor works and inspires you to try it yourself on your next project that needs strong and trusted encryption.

To engage with us directly, we welcome you to join us on our Telegram group or Twitter, @SkudoTech. As always, we are happy to hear from you. Your feedback and suggestions for our project are important. So please, be sure to share them with us.

About the Author

Piret Uustal


$11,358 raised

of $13,000 goal

87% Funded

Pledge Now

$129

SKUDO Kryptor FPGA Board

One SKUDO Kryptor FPGA board, one voucher for a free Skudo HSM softcore download, one BB-170 Solderless Plug-In Breadboard, and six male/female 10 cm jumper wires.


$249

Two-Pack of SKUDO Kryptor FPGA Boards

Two SKUDO Kryptor FPGA boards, two vouchers for a free Skudo HSM softcore download, two BB-170 Solderless Plug-In Breadboards, and 12 male/female 10 cm jumper wires.


$21

SKUDO Kryptor JTAG adapter

Adapter with pogo pins that connects a USB Blaster to the SKUDO Kryptor FPGA board to reprogram it using its JTAG interface.


$16

USB Blaster

An FPGA programmer that you can use to reprogram Skudo Kryptor through its JTAG interface.

Credits

Skudo OÜ

Skudo is an European company offering deep-tech cybersecurity and hardware based encryption for high level niche markets (space, critical infrastructure, IoT etc.) We realized that for guaranteeing the highest level of security that these fields require, the hardware encryption is a must, but the commercial hardware encryption solutions available on the market did not match our clients needs. Hence, we decided to build it ourselves.


Stefano Alberico

Piret Uustal

Vlad


Eurocircuits

PCB fabrication & assembly

See Also

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects: