Thursday, June 25, 2020

Plan of Action for the Crypto Chip

I switched to the default configuration. (see script)

https://www.youtube.com/watch?v=_MjjF211BM8
(Product Showcase: SparkFun Cryptographic Co-Processor Breakout)

Cryptographic Co-Processor ATECC508A (Qwiic) Hookup Guide :: Example 1: Configuration
https://learn.sparkfun.com/tutorials/cryptographic-co-processor-atecc508a-qwiic-hookup-guide/example-1-configuration

Cryptographic Co-Processor ATECC508A (Qwiic) Hookup Guide :: Example 2: Sign
https://learn.sparkfun.com/tutorials/cryptographic-co-processor-atecc508a-qwiic-hookup-guide/example-2-sign

From this I derived a plan of action for the crypto chip and the computer.

(asymmetric cryptography (public key cryptography))
https://searchsecurity.techtarget.com/definition/asymmetric-cryptography
"If the public key is used for encryption, then the related private key is used for decryption; if the private key is used for encryption, then the related public key is used for decryption."

Read first:
https://www.hudatutorials.com/java/basics/java-arrays/java-byte-array

Read second:
https://www.geeksforgeeks.org/python-convert-bytearray-to-hexadecimal-string/

How to turn the crank:
https://www.youtube.com/watch?v=ovuM5Zmn7X0
(How to Encrypt Files and Strings with Python? (Part 1 - Symmetric Encryption) - Paul Mahon)

https://www.youtube.com/watch?v=bd5nsMscPo0
(How to Encrypt a File with Python? (Part 2 - Asymmetric Encryption) - Paul Mahon)

I am not sure how to deal with the list of hex values. the values for the public key look something like:
https://www.includehelp.com/tips/c/how-to-initialize-array-elements-with-hexadecimal-values-in-c.aspx

Maybe a list of hex values in Python is the way to do it??
https://codereview.stackexchange.com/questions/147160/efficiently-creating-a-list-of-formatted-hex-values













No comments:

Post a Comment