Page 1 of 1

VS1005 devCrypt Driver v1.00

Posted: Wed 2023-11-15 11:49
by Henrik
Hello!

It is with great pleasure that I present you with an all-new decrypting driver devCrypt for VS1005.

With this driver, and the accompanying encryption software, it is possible to encrypt files on a PC using a Secret Key, then decrypt the files on a device containing a VS1005 and the secret key. For encryption, the cryptographically strong and fast 256-bit encryption algorithm ChaCha20 is used. This is an all-new concept for VS1005 and opens doors to many new, secure applications, including but not limited to:
  • Decode encrypted files on an SD Card that can be decoded only on VS1005 devices with the Secret Key.
  • Run programs that are stored in encrypted format.
  • Send audio files that can only be decoded on a certain group of devices, or even on a single device.
For best security, using a V1005 with Internal Flash Memory is highly recommended.

Attached to this documentation are the documentation for the devCrypt package, as well as the package itself.

Have fun with this all-new package!

Kind regards,
- Henrik

Re: VS1005 devCrypt Driver v1.01

Posted: Fri 2023-11-17 14:35
by Henrik
Hello!

Here is an immediate update to the devCrypt driver. There was an issue that would show itself if you read two files simultaneously from an SD card, one file in plaintext and the other file encrypted. This has now been corrected.

The documentation now also includes speed tests. In short, you can expect a read speed of almost 1 MiB/s from a crypted SD card.

In addition to the new crypto driver, I have also attached an updated version of more. It is not needed by the devCrypto driver, but it has been used to speed test example so I included it to this message.

Kind regards,
- Henrik