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

Encrpyted Door Lock

Started by jakejakey, 19 March 2015 - 01:18 AM
jakejakey #1
Posted 19 March 2015 - 02:18 AM
I Have created a door lock that is customizable and uses sha256 as its hash. this lock is very secure and does not leave any watermark. features:

- SHA256 Implementation
- Customizable Name of lock.
- Custom door open time
- Works with a door on any side.

To Setup a door with this lock simply run the command:

pastebin run ALQdKgQE

and then you are ready to start securing all of your doors in you're base.

Have fun with this lock. it should work very well. report all errors to me!

created by jakejakey1208
Note! i did not create the sha256 api.
Anavrins #2
Posted 19 March 2015 - 05:31 PM
You do not use any salting, if someone or an OP get's into the computer and gets the hash, searching for it in Google will sometime yield the word it is hashing.
Example of searching the hash of "hello"

Your "pass" variable is not localised, if a program somehow gets into the computer, he can easily read the password in plaintext.

All of this is probably impracticable on a multiplayer server since you use os.pullEventRaw.
Edited on 19 March 2015 - 04:31 PM
jakejakey #3
Posted 01 April 2015 - 03:00 AM
okay say that to sertexsecurity. they have the same there. Instructions on hacking sertex security:

1. Type "cd .sertexsecurity"
2. Type "edit .password"

There you have the sha right there. and the files can be located with the code:

list = fs.list("")
print(list)

will show you the .sertexsecurity.

I dont quite understand sha salting! yet. but when i figure it out i will release a new version. also!
this project is kind of abandoned.

but dont delete it beacause i want people to still get to use it.
Edited on 06 April 2015 - 09:46 PM