This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// set up required modules | |
var fs = require('fs'); | |
var args = require('minimist')(process.argv.slice(2)); | |
// the ursa module is imported to wrap OpenSSL and provide RSA decryption for | |
// the digital signing aswell as decrypting the symmetric key. URSA cannot do | |
// symmetric decryption natively, so we need another module for that | |
var ursa = require('ursa'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// set up required modules | |
var fs = require('fs'); | |
var args = require('minimist')(process.argv.slice(2)); | |
// the ursa module is imported to wrap OpenSSL and provide RSA encryption for | |
// the digital signing aswell as encrypting the symmetric key. URSA cannot do | |
// symmetric encryption natively, so we need another module for that | |
var ursa = require('ursa'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
General | |
------- | |
- 32 general purpose registers | |
- Address bus is 17 bits | |
- Address is 16 bits | |
- Instructions are 2 or 4 bytes | |
- Flash address space 0x0 to 0x1FFFF | |
- Program counter is 17 bits | |
Ports & Pins |