Method Crypto.Substitution()->set_ACA_K2_key()
- Method
set_ACA_K2_key
this_programset_ACA_K2_key(stringkey,void|intoffset,array(string)|voidalphabet)- Description
Sets the key according to ACA K2 key generation. The cryptogram alphabet is prepended with a keyword
keythat shifts the alphabet positions compared to the plaintext alphabet. The cryptogram alphabet is then reduced with the characters in the keyword. It is als optionally reotatedoffsetnumber of steps.