
Basically just a string encrypting. I'll post the decrypting program in a bit, when I get some time. The encrypting and decrypting are each kinda slow, so I was just wondering if anyone could help me with it. I'm looking for speed optimization; space optimization isn't that important right now. Here goes:
PRGM θENCR
Input "", Str1
Randint(1,64
sub("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmopqrstuvwxyz .0123456789",ans,1 ->Str0
For(θ,1,length(Str1
sub(Str1, θ,1 ->Str2
Delvar Y
For( Z, 1, 64
If sub("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmopqrstuvwxyz .0123456789",Z,1)=str2:Z -> Y
If Y≠0:64 ->Z
End
Y+A->Y
str0 + sub("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmopqrstuvwxyz .0123456789",Y,1 -> Str0
End