Posted 11 July 2015 - 08:45 PM
Hi all,
I've been working on this code for a bit and I've finally been able to release it
Cloud Base Security - Access all doors with the same password using the cloud
This uses Forgotten_Boy's amazing ComputerCraft Cloud Chest service for password storage, an SHA256 API (I use pastebin account so editing, yay!) and the CCCC service API.
It will auto-download the APIs for you.
Setup Program -
How to Setup:
Download the setup and door files and edit the chest number and API key (do NOT put the number in a string) to match yours (Choose 0 IMO) - In door program remember to set direction of door in a string.
Run setup program and type a password in, and wait for the program to encrypt and upload the key to the cloud. Then, run the door program and type the same password in and if it says 'Correct! Opening door' then you've done it correctly
I've been working on this code for a bit and I've finally been able to release it
Cloud Base Security - Access all doors with the same password using the cloud
This uses Forgotten_Boy's amazing ComputerCraft Cloud Chest service for password storage, an SHA256 API (I use pastebin account so editing, yay!) and the CCCC service API.
It will auto-download the APIs for you.
Setup Program -
pastebin get MDt56RdY setup
Door Program - pastebin get 8fyFyw3B startup
How to Setup:
Spoiler
Go to https://boomtree.com/cx4 and get the API key for your chest.Download the setup and door files and edit the chest number and API key (do NOT put the number in a string) to match yours (Choose 0 IMO) - In door program remember to set direction of door in a string.
Run setup program and type a password in, and wait for the program to encrypt and upload the key to the cloud. Then, run the door program and type the same password in and if it says 'Correct! Opening door' then you've done it correctly
Edited on 11 July 2015 - 07:44 PM