• ServerKM1.js and ClientKM1.js 29 Aug. 2016
    KryptoMessage3.js has been divided into the server and client programs that run on two different PICOs.
    I used the Squirt.js to install the cryptographic keys on both PICOs.
    To use connect the serial1 ports on each PICO to the other PICO.
    P1 B6 to P2 B7, and P1 B7 to P2 B6. Connect the PICO grounds if they are to run on separate computers. I ran both from one computer.
    Using WebIDE load and run one PICO with ServerKM1.js. If on one computer disconnect from the server PICO and connect to the remaining client PICO. Load and run Client KM1.js

    >echo(0);
    =undefined
    >Auth key
    48,5b,9,c,e2,9d,61,91,a2,b0,d2,87,ee,4e,cb,e4,
    MsgCmac key
    83,52,a2,d3,a4,fd,7d,a3,91,8f,91,81,76,c,f3,83,
    PWIDcmac key
    f,7a,fc,89,2,57,45,33,7f,bd,37,5c,c4,a7,f7,d2,
    PWIDCkeykey key
    86,69,df,9f,25,21,bb,a1,5f,1f,28,1d,92,29,96,85,
    Transport Encryption key
    a1,62,33,fb,c3,36,86,9d,ef,9f,58,7f,a,1b,be,96,
    Permutation
    9,69,44,5,17,3,37,46,72,0,74,21,70,19,40,26,27,4,79,13,
    58,11,68,59,51,56,15,16,60,32,49,73,29,61,42,77,66,6,67,52,
    14,48,34,63,2,78,7,62,41,30,50,24,39,64,76,65,25,57,20,23,
    28,33,47,43,53,55,36,38,22,1,12,71,8,31,10,75,54,35,45,18,
    ID= Sam PW= 1234
    -> LoopbackB
     
    Select using digit and return key
    1 Connect    6 Cshow
    2 Logoff     7 LEDon
    3 Creplay    8 LEDoff
    4 Creset     9 Read ADC
    5 n/a        0 Exit
    <- USB
    

    Notice item 5 of the menu has been removed as there is no access to the sever code on the client.


    3 Attachments

About