Questions 5.2.1 and questions 5.2.2:
After following hash.ipynb instructions sequentially, modifying as instructed and compiling cmake and main C programs successfully. I got the results but it is different from answers provided. After 2 attempts I lost 4 points for those 2 questions.
I repeatedly ran this IOT-Lab experiment more than twice and each time I get the same results. I haven’t got any errors while I was running ipython pronote book steps or C commands. I get results consistently same in each experiment.
Bellow is what I got after running sha256 riot and sha3 riot.
I always get same results running the IOT-Lab test repeatedly in new sessions.
My questions is why my results wrong from answers provided? Are those answers correct?
There are lots of discussions in the forum but I cannot follow because I guess language is French. I am in Sydney, Australia and I can understand English only. Sorry!
Below is what I got:
ovyan@db8fd5a547a9:~/work/iot-lab-training$ make BOARD=iotlab-m3 IOTLAB_NODE=auto-ssh -C riot/security/hash term
make: Entering directory ‘/home/jovyan/work/iot-lab-training/riot/security/hash’
ssh -t fund6900df75a@grenoble.iot-lab.info ‘socat - tcp:m3-101.grenoble.iot-lab.info:20000’
sha256 riot
sha256 riot
SHA256: FCCDA8FAEFEBB2EC17684836D4DD8793011EA79DA7244E0E04D2460BEF080E3C
sha3 riot
sha3 riot
SHA3: 759B2B5474663D26B675350B09E2C2A41B6090B0F2BBFFBFF5C1802F7628426B
sha3-256 riot
sha3-256 riot
shell: command not found: sha3-256