Lemsaneg was the primary signal intelligence agency of Indonesia. It was founded by Lieutenant Colonel (then finally attained final rank Major General) Dr. , a medical doctor assigned in Indonesia's intelligence department at that time, Section B of Ministry of Defence. At that time, this section mainly responsible to make strategic intelligence analysis for war purposes. He was assigned to the department by Amir Sjarifuddin, Ministry of Defence at that time, to built an unit for signal intelligence. On 4 April 1946, Code Service (Indonesian: "Dinas Code") founded. As a medical doctor, he did not have any background and formal training in intelligence and signal intelligence. However, during the war time and his assignment, he completed various crash courses in intelligence and signal intelligence. In 1949, during Dutch-Indonesian Round Table Conference period, he completed signal intelligence course from Dutch Ministry of Foreign Affairs. Although just gaining knowledge from the courses, with his intelligence, intuition, logics, book readings, and imagination, he finally able to make his own cryptography methods. His cryptography methods proved useful to secure transmission of secret messages and government communications, during the wartime and peacetime.