This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
manu_03's profile picture

Scanner

Started by manu_03, 18 July 2016 - 08:42 PM
manu_03 #1
Posted 18 July 2016 - 10:42 PM
I'm one of those who tried to make a ComputerCraft Banking System. I used floppies as auth cards, but they were very unsecure. Then I thought about using bills. They were Floppies too, with a serial number to have a computer checking the value. The thing was storage. If I used (for example) $1 bills, I could only have $36. Papers have Printed Pages and Printed Books. So my idea is a scanner, that can read printed pages. Continuing with the banking system example, it would function this way:
-A server creates a serial number with the bill's amount and sends it to a computer that prints the bill.
-User goes to a shop
-He gives the shopkeeper the bill.
-He scans it.
-The computer sends an HTTP request to the server to check if the bill is fake (or cloned), and to generate more bills (to return to the client, for example)
-The server checks it, and returns if its fake or not. It also returns all the serial numbers required by the client and mark the old bill's number as used.
-The computer prints the bills.
-The shopkeeper can now spend his money.

Well, let's compare this with floppies:
-You can only see the label
-You can't stack them in "printed floppies"

And I know you can simply put the serial number with the keyboard, but it's so much slower. Imagine doing that with a program that saves the printed page as a file. It would take so much longer than simply scan it.
KingofGamesYami #2
Posted 18 July 2016 - 10:45 PM
The entire thing you just described can be made using one disk. Just store the serial numbers there - you can even store multiple on one disk or on a pocket computer.
The Logo Maker #3
Posted 19 July 2016 - 11:02 AM
store file per money on disk i think ,.

scanner peripperal would be cool
!!!!!!!!!!!!!!!!!!Shocking #4
Posted 19 July 2016 - 04:33 PM
Is there a way to read printed pages with a turtle? That mnight be a way to do things more securely
KingofGamesYami #5
Posted 19 July 2016 - 04:46 PM
Is there a way to read printed pages with a turtle? That mnight be a way to do things more securely

How would this be more secure than a disk drive being read by a turtle?
The Logo Maker #6
Posted 19 July 2016 - 05:03 PM
scanner would be cool is because people could right there Credit Card info on paper with pen and scan it so that it can be withdraw money.
_strx #7
Posted 19 July 2016 - 10:45 PM
Is there a way to read printed pages with a turtle? That mnight be a way to do things more securely

How would this be more secure than a disk drive being read by a turtle?
Because you can't edit a printed page, let's say there's a code on the page with and the page has a minecraft sub-ID that corresponds to a money amount, and let's assume the server is secure enough to not allow counterfeiting. You can't edit that page to change how much money's on it.
KingofGamesYami #8
Posted 19 July 2016 - 10:58 PM
Because you can't edit a printed page
Irrelevant. I can make a new printed page with the same data.
the page has a minecraft sub-ID
After 10 minutes of googling, I can't figure out what this is. If, in fact, a turtle can read this, there's no reason to add a money amount - just query the secure server about it.

Even if it does exist, what advantages does it enjoy over disk's unique ID?
let's assume the server is secure enough to not allow counterfeiting
If you already have a secure server, why would you need this? Just use one-time passwords on a disk.
Edited on 19 July 2016 - 09:01 PM
_strx #9
Posted 20 July 2016 - 12:04 AM
Because you can't edit a printed page
Irrelevant. I can make a new printed page with the same data.
the page has a minecraft sub-ID
After 10 minutes of googling, I can't figure out what this is. If, in fact, a turtle can read this, there's no reason to add a money amount - just query the secure server about it.

Even if it does exist, what advantages does it enjoy over disk's unique ID?
let's assume the server is secure enough to not allow counterfeiting
If you already have a secure server, why would you need this? Just use one-time passwords on a disk.

Welp, me trying to be the devils advocate was a futile attempt.