You are here

What is NanoScaleFeaturesDownloadPurchaseSupport
What is NanoScale[Features]DownloadPurchaseSupport

Crypto Library

Cryptographic library
NanoScale comes with a free Cryptographic module. This toolbox provides different sets of algorithms allowing to perform private and public-key encryption, hashing or random number generation. All these algorithms have been developped especially for speed and low footprint usage.



The NanoCrypto library is available for all Microchip PIC32MX, PIC32MZ, PIC24 & dsPIC Microcontrollers.
Documentation download


Small footprint

The footprints of the different algorithms available in NanoCrypto are given in the table below:

Code footprint on PIC32 Code footprint on PIC24 RAM footprint by context
AES 2.6 kB 3.8 kB 250 B
AES Fast 11.9 kB 16.6 kB 484 B
SERPENT 4.1 kB 6 kB 528 B
DES3 4.5 kB 7 kB 384 B
RC4 0.3 kB 0.25 kB 258 B
MD5 4.1 kB 7.2 kB 88 B
SHA1 4.6 kB 14.6 kB 92 B
SHA2 2.2 kB 6.4 kB 104 B
SHA3 4.9 kB 7 kB 216 B

Fast execution

NanoCrypto benchmark yields the results presented in the following table. For cryptography, the test consist in the ciphering and the deciphering of 50kB of data. For hashing, time is measured on the processing of 100kB of data.

PIC32MX @ 80MHz PIC24E @ 40MHz
Ciphering and deciphering of 50kB
AES, 512 1.2 s 83 kB/s 1.7s 59 kB/s
AES, 256 0.90 s 112 kB/s 1.2s 83 kB/s
AES Fast, 512 0.34 s 298 kB/s
AES Fast, 256 0.25 s 403 kB/s
SERPENT 0.45 s 222 kB/s 1.3 s 77 kB/s
DES3 1.2 s 83 kB/s 3.1 s 32 kB/s
RC4 0.07 s 1515 kB/s 0.06 s 1695 kB/s
Hashing of 100kB
MD5 0.03 s 2941 kB/s 0.13 s 794 kB/s
SHA1 0.06 s 1818 kB/s 0.27 s 376 kB/s
SHA2 256 0.19 s 540 kB/s 0.79 s 126 kB/s
SHA2 512 0.33 s 300 kB/s 1.9 s 53 kB/s
SHA3 256 0.33 s 304 kB/s 1.4 s 71 kB/s
SHA3 512 0.64 s 156 kB/s 2.9 s 35 kB/s

Buy Now

Purchase a license for the Individual, Basic or Full version of NanoScale.

Download

Download the latest demo release of NanoScale, along with documentation and other porting information.

Email support

Feel free to contact us with any questions you may have.