Script Request - Password Encryption

Discuss and share scripts and script files...
Post Reply
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Script Request - Password Encryption

Post by SkyFrontier »

Recent changes and an old wish may now meet each other in terms of a simple password encryption.
The idea is to hide values contained in a right click on a CTB so only after processing a script based on "replacelist" such passwords will be valid and ready to use anywhere else.
So:
1) One CTB has the "encrypted passwords" - a list that will be read by the proposed script.
2) Another CTB/UDC/catalog item disguised in another place will contain the script that will translate those "random" values into the correct ones and prompt user on which one he'll want to use at a moment, then make it available to clipboard via copytext.
3) One can have the statusbar hidden (also discussed here) for security reasons or included a simple code like

Code: Select all

focus "PI"; focus "PI"
to quickly display a neutral status instead of this "well protected" thus far password/value.
Thanks!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Script Request - Password Encryption

Post by SkyFrontier »

Improvement (ideas for the code):
CTB value: "Account 2" 9 3 2 7 - as of copytext "9327"; focus "PI"; focus "PI"
internal search/replacement:
$out = replace($out,"2","pa");
$out = replace($out,"3","st");
$out = replace($out,"9","te");
$out = replace($out,"7","ss");
Real password: testpass (te/9 st/3 pa/2 ss/7)
-is it possible to have a mounting order, so instead of "pa st te ss" (assuming that search/replacement is linear, reading commands from top to bottom in order to form "testpass" as output...)
-the idea is to have such passwords invisible to the system, also - they will only be mounted on execution of script.

Prompt must be user - define-able so one can add as many pairs he needs and tell the prompt what the names will be, so "GMail password" can be shown as "Account 2" or anything else.

IF a master password could be set in such prompt, allowing or not execution of this decryptiont script, then we could have a real password protector built in the most unsuspected places of all: a file manager! :mrgreen:
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply