This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-03 12:52:33

sebbass
New Scratcher
Registered: 2013-01-03
Posts: 4

Como puedo encriptar en scratch?

x favor alguien me puede ayudar con un tutorial de como encriptar en scratch??...xD

Offline

 

#2 2013-01-03 17:25:09

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Como puedo encriptar en scratch?

Existen muchas maneras de encriptar una linea de texto, esta galería tiene algunos proyectos con distintas maneras.

La forma mas simple que se me ocurre, sería simplemente reemplazar letra por letra, algo así:

when gf clicked
set [texto v] to [asdf]
set [N° letra v] to [1]
set [resultado v] to []
repeat (length of (texto))
  if <(letter (N° letra) of (texto)) = [a]>
    set [resultado v] to (join (resultado)[z]) //o cualquier otra letra; que no se repitan!
  end
  if <(letter (N° letra) of (texto)) = [b]> //etc.
  end
  change [N° letra v] by [1]
end


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

Board footer