Wednesday, September 2, 2020

Trying out IEEE754 to build a 32 byte message that can be cryptographically signed.

 Decimal to IEEE 754 Floating Point Representation -- https://www.youtube.com/watch?v=faTGTgid8Uc ... I am watching this so that I can convert a floating point number to a 32 byte type uint8_t array that can be signed by a private key, and verified using a uint8_t public key. 


http://cstl-csm.semo.edu/xzhang/Class%20Folder/CS280/Workbook_HTML/FLOATING_tut.htm

Big Endian and Little Endian
https://chortle.ccsu.edu/AssemblyTutorial/Chapter-15/ass15_3.html


"Array Element Storage

As you might remember from Day 8, the elements of an array are stored in sequential memory locations with the first element in the lowest address. Subsequent array elements (thos with an index greater than 0) are stored in higher addresses. How much higher depends on the array's data type
(char, int, float, and so forth)" -- pg. 203 , Sam's Teach yourself C in 21 Days, Sixth Edition by Bradley Jones and Peter Aitken

Convert Binary to Decimal
https://www.rapidtables.com/convert/number/binary-to-decimal.html

How to return multiple values from a function in C or C++? 
https://www.geeksforgeeks.org/how-to-return-multiple-values-from-a-function-in-c-or-cpp/

This looks like an end result of what I am trying to create:
Program for conversion of 32 Bits Single Precision IEEE 754 Floating Point Representation

https://www.geeksforgeeks.org/program-for-conversion-of-32-bits-single-precision-ieee-754-floating-point-representation/

goting back:

IEEE 754 Floating Point Representation to its Decimal Equivalent

https://www.youtube.com/watch?v=LXF-wcoeT0o







No comments:

Post a Comment