we have encryption function on xy?
or does anyone here know an existing script to do this?
encryption
Re: encryption
formatlist()
param On format x: Seeds the randomizer used for shuffling. Can be any number. If a seed is passed, the randomizer always generates the same random sequence for this seed.
One of my scripts helped you out? Please donate via Paypal
Re: encryption
hi highend, i think i understand that the formalist is only relative to text, or perhaps also to file?
-
- Posts: 205
- Joined: 27 May 2014 05:24
Re: encryption
I use this small script to quickly encrypt list of files or folders, using gpg (https://gnupg.org/download/index.html)
Any folders are added to a zip file first before encrypting.
and for decrypting
Any folders are added to a zip file first before encrypting.
Code: Select all
foreach($file, <selitems |>){
if(exists($file) == 2){ //if folder, add to zip first
zip_add(gpc($file, "base").".zip", $file);
$file = gpc($file, "base").".zip";
}
run "gpg -er ""jaywalkerr32"" """.gpc($file, "name")."""", , 1, 2;
}
Code: Select all
foreach($file,<selitems |>){
run "gpg -do """.gpc($file, "base").""" """.$file."""", , 1, 2;
}
Re: encryption
oh great jaywalker32!
tanxs for this share
tanxs for this share