Cheers man. Is that the whole program? I thought it would be a bit more complicated than that. This assignment is worth 25% of my total grand for the module.
So, lets say a list
L("AAABBBCCC")
L2("")
I would do for example
encode(Char, L, L2) :- maplist(caesar(Char, L1, L2)
cipher(_, 26, 26) :- !.
would I be right doing this??
Can anyone help me out with this. I'v to make a Cipher encrypyion in prolog.
Typical input would be AAABBBCCC output would be CCCDDDEEE
it's a 3 letter jump encryption.
Any help is much appreciated.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.