Symmetric cryptography and two algorithms