Added a RandomString class from stackoverflow, to generate random alphanumeric strings (to be used as passwords).

Added some code to VaultDoor, including random password generation and code to encrypt/decrypt under a Vernam-like cypher.
Modified door opening policy to include the possibility of keeping the door open.
This commit is contained in:
sg495
2018-01-08 20:40:50 +01:00
parent 9bb0dc9034
commit 46483b2bf8
4 changed files with 193 additions and 32 deletions

View File

@@ -84,3 +84,7 @@ wg_maxCopperCount=2
# ----------------------------------------------
# Maximum execution time of user code in ms
user_timeout=100
# ----------------------------------------------
vault_door_open_time=4