Man has created codes to keep secrets and has broken codes to learn those secrets since the time of the …