I need encrypt and decrypt come text:
string decrypt(string text, string password){
// code
return decrypted;
}
string encrypt(string text, string password){
// code
return encrypted;
}
void main(){
string text = "hello word";
string pass = "p4ssw0rd";
string enc = encrypt(text, pass);
print("%s\", enc);
string orig = decrypt(enc, pass);
print("%s\",orig);
}
I appreciate any help.
Thanks for every body.
Luis
Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE
ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list