Respondent applied for employment with the appellants. As a precondition to being considered for a position, she was required to submit to a polygraph examination. She refused and consequently was informed that she would not be considered. She challenges both the polygraph *114examination and RCW 49.44.120, which authorizes the exam, as unconstitutional violations of her right to privacy and right to equal protection. The trial court granted her partial summary judgment on both issues. This court accepted direct review and reverses.
Facts
In June 1986, respondent Margaret O'Hartigan applied for a job as a word processor with the Washington State Department of Personnel. After a successful interview and achieving an acceptable test score, she was placed on the state registry. She was subsequently notified of an opening with the Washington State Patrol.
During her initial interview with the State Patrol, O'Hartigan was informed that as part of the screening process she would be required to submit to a polygraph examination. Pursuant to an express written policy of the State Patrol, all applicants are required to submit to a polygraph exam or not be considered for employment. The exam is uniformly given in the same location with the same questions routinely asked. The polygraph examiner has no prior knowledge of the applicant. There are four polygraph examiners currently in the unit.
Initially, the examiner reviews a personal history and background questionnaire that the applicant completes prior to the exam. Besides the usual inquiry as to residence, references, marital status, children, past and current employment and education, the questionnaire contains additional questions of a more specific and personal nature. These include prior military service, involvement in any civil or criminal litigation, use of controlled substances, motor vehicle violations including traffic citations and revocation, suspension or denial of an operator's license, financial problems, and a general question requiring disclosure of any information not covered in the questionnaire that would negatively impact on the applicant's performance in the prospective job.
*115The applicant is then asked to sign a consent form for the administration of the polygraph. Assuming the applicant voluntarily does so, the examiner engages in the pretest phase. This consists of 85 questions covering general background, driving record, employment, military service, arrest information, undetected crimes, medical history, education, personal habits, sex crimes and honesty. The questions call for a "yes" or "no" response. If the answer is "yes", follow-up questions are asked until the response is satisfactorily explained.
The applicant is then hooked up to the polygraph machine and asked 15 questions which seek to verify the applicant's veracity during the pretest phase. After this occurs, the examiner renders his or her opinion as to the credibility of the examinee. The applicant is allowed to explain any deceptive responses and divulge any information he or she may have withheld. If the examiner still doubts the applicant's veracity, a control test is administered. There are no predetermined questions for this phase.
Upon completion, the results are turned over to a State Patrol background investigator who reviews the applicant's file. The file is then hand delivered to the personnel section which reviews it in its entirety, including aptitude test scores, biographical data, credit checks, police checks, reference checks, and the polygraph information. If the polygraph results indicate deception, the personnel department may request another exam. The applicant may also request an additional exam provided there is an adequate reason for doing so.
O'Hartigan was provided with a job description at the initial interview. At this time she did not indicate that she would not submit to a polygraph. If hired, her duties would have included typing investigation reports, ongoing narcotics investigations, employee suspension and termination records, sergeant and lieutenant examinations, internal affairs investigation reports, professional standard reports and criminal investigations.
*116After the interview, O'Hartigan was given the personal history and background questionnaire. After reviewing the questions, she refused to submit to the polygraph maintaining that the information sought was too personal. Consequently, she was informed that she could not be considered for the word processing position. Despite this, O'Hartigan filled out the questionnaire and returned it to the State Patrol indicating she still wanted the job.
On February 19, 1987, O'Hartigan brought an action against the Washington State Department of Personnel and the State Patrol alleging numerous violations which included her right to privacy, equal protection and due process. The trial court granted her partial summary judgment, holding that the polygraph exam violated both her federal and state constitutional right to privacy. The court also ruled that RCW 49.44.120, which authorized the exam, violated her federal and state constitutional right to equal protection. Subsequently, the Department of Personnel and the State Patrol appealed. This court accepted direct review and now reverses on all issues.
Analysis
I
Privacy Claim
O'Hartigan claims the State Patrol's polygraph test requirement, allowed by RCW 49.44.120, violated her state and federal constitutional privacy protections. The polygraph examiner asks questions concerning the job applicant's medical history, psychological history, and whether the applicant has ever committed a sex crime. Such inquiries implicate privacy concerns, and O'Hartigan has a constitutionally protected privacy interest in the personal information requested for the polygraph test. See Thorne v. El Segundo, 726 F.2d 459 (9th Cir. 1983), cert. denied, 469 U.S. 979 (1984). At issue is whether these privacy rights are violated by the State Patrol's use of polygraph testing for initial applicants.
*117A
Constitutional Standard
The Supreme Court has identified two types of interests protected by the right to privacy: the right to autonomous decisionmaking and the right to nondisclosure of intimate personal information, or confidentiality. Whalen v. Roe, 429 U.S. 589, 599-600, 51 L. Ed. 2d 64, 97 S. Ct. 869 (1977); see Bedford v. Sugarman, 112 Wn.2d 500, 509, 772 P.2d 486 (1989).
The interest in autonomy is recognized as a fundamental right and is thus accorded the utmost constitutional protection. This right involves issues related to marriage, procreation, family relationships, child rearing and education. Whalen v. Roe, 429 U.S. at 600 n.26. Government action which infringes on this right is given strict scrutiny and the State must identify a compelling governmental interest for such action to be justified.
The interest in confidentiality, or nondisclosure of personal information, has not been recognized by this court as a fundamental right requiring utmost protection. In Peninsula Counseling Ctr. v. Rahm, 105 Wn.2d 929, 936-37, 719 P.2d 926 (1986), we held that under both the Washington and federal constitutions, the State had a legitimate interest in disclosure of patient records for the purpose of complying with a federal statutory requirement for the availability of federal funds. In so holding, we followed the rational basis analysis: disclosure of intimate information to governmental agencies is permissible if it is carefully tailored to meet a valid governmental interest, and provided the disclosure is no greater than is reasonably necessary Peninsula Counseling, at 935; see also Peninsula Counseling, at 944 (Pearson, J., dissenting) (characterizing majority opinion as following rational basis analysis); but see Texas State Employees Union v. Department of Mental Health, 746 S.W.2d 203 (Tex. 1987) (applying heightened scrutiny to state action infringing on confidentiality interest); Long Beach City Employees Ass'n v. Long Beach, 41 Cal. 3d 937, 719 P.2d 660, 227 Cal. Rptr. 90 (1986) (same).
*118We also concluded in Bedford v. Sugarman, 112 Wn.2d 500, 512, 772 P.2d 486 (1989) that a state program requiring indigent alcoholics and drug addicts to move into designated shelters in order to receive benefits did not infringe on the privacy rights of that class. In Bedford, we analyzed the extent of the privacy interest in nondisclosure of personal information, or confidentiality, and concluded that case law did not support the recognition of a general right to nondisclosure of personal information. Bedford, at 509-12. Bedford, however, was decided strictly on federal constitutional grounds. Bedford, at 508. In this case, O'Hartigan claims protection of her interest in nondisclosure of personal information under both the federal and Washington State constitutions. Consistent with our decisions in Peninsula Counseling Ctr. v. Rahm, supra, and Bedford v. Sugarman, supra, we apply a rational basis test to O'Hartigan's privacy claim.
O'Hartigan argues that the use of the polygraph is not supported by a compelling state interest. Under our decision in Peninsula Counseling, the State's interest need not rise to this standard. Since O'Hartigan's interest in nondisclosure of personal information has not been recognized as a fundamental right, the State need only demonstrate, under a rational basis analysis, a legitimate governmental interest which polygraph testing is utilized to achieve. Specifically, O'Hartigan maintains that the position of a law enforcement word processor may be analogized to word processing positions for secretaries in general and receptionists; and that as none of these positions encompass the public trust or empower employees to deprive citizens of their personal liberty, there is no sufficient state interest that would justify polygraph testing.
O'Hartigan's argument belies the importance of her role. The record discloses that, if hired, she would have been privy to highly confidential and extremely sensitive matters, including investigative reports, ongoing narcotics investigations, employee disciplinary records, sergeant and lieutenant examinations, internal affairs investigation *119reports, and professional standards reports. Such information is safeguarded because if it were compromised, this could endanger law enforcement officers or the public safety.
The State has demonstrated a legitimate interest in providing its citizens with law enforcement agencies free of corruption and secure in their employees’ access to sensitive information. The position for which O’Hartigan applied with the State Patrol would involve regular contact with and access to sensitive documents and information. This circumstance justifies employee screening protection.
Under RCW 49.44.120, polygraph testing is generally prohibited as a method of employee screening. However, the statute also specifically provides that this prohibition does not apply to persons making initial employment applications with a law enforcement agency. RCW 49.44.120. The Legislature, in other words, has accepted polygraph testing as an employee screening method to be used by law enforcement agencies. The other methods of employee screening protection named by O’Hartigan, such as probationary periods and background checks, are, as the State argues, vulnerable to dishonest responses by either an applicant or the applicant's background references and were not deemed adequate by the Legislature. Moreover, a probationary period allows persons access to law enforcement premises, documents, and perhaps investigative information during the evaluation period, before a satisfactory assessment can be made. We hold polygraph testing is constitutionally acceptable under an analysis which would require employment screening means which are carefully tailored to achieve the State's interest. Thus, under Washington statute regulating or limiting the use of polygraph testing in the workplace, it is constitutionally acceptable that initial applicants to law enforcement agencies are exempted. See RCW 49.44.120.
The use of polygraph testing by the State Patrol does not violate O'Hartigan's constitutional privacy rights. The State has demonstrated a legitimate governmental interest in *120providing its citizens with law enforcement employees of high moral character and integrity.
B
Scope of Disclosure
We now turn our attention to the questions asked by the State Patrol in conducting polygraph testing of initial applicants. This court has stated:
While disclosure of intimate information to governmental agencies is permissible if it is carefully tailored to meet a valid governmental interest, the disclosure cannot be greater than is reasonably necessary.
Peninsula Counseling, at 935. Thus, the disclosures requested of applicants on the pretest questionnaire must not be greater than needed in order to meet the goal of hiring employees of integrity. Under Thorne v. El Segundo, supra, the inquiry must be directly and specifically related to the employment sought. By authorizing the use of the polygraph in this specific setting, we are not authorizing a fishing expedition into the job applicant's personal matters. Nor do we authorize indiscriminate and standardless questioning by the examiner. In this case the questionnaire and the initial questions the polygraph examiner asks are written out, and the examiner simply reads them. The examiner's questions are limited and are directly related to the employment situation sought. We conclude the questions asked of O'Hartigan were no more intrusive than was reasonably necessary to achieve the State's legitimate purpose.
According to the stipulated facts, the examiner can follow up the initial questions with other questions if he or she may feel it is necessary. There are no predetermined questions or guidelines for these follow-up questions. If the examiner is not sure of the results of the previous phase of the test, or believes the test subject is lying, he or she may ask whatever additional questions are necessary to allay those doubts. As the Ninth Circuit pointed out in the con*121text of polygraph testing of prospective employees for a law enforcement agency:
When the state's questions directly intrude on the core of a person's constitutionally protected privacy and associational interests ... an unbounded, standardless inquiry, even if founded upon a legitimate state interest, cannot withstand the heightened scrutiny with which we must view the state's action.
Thorne, 726 F.2d at 470. Limits need to be set in order for the actual administration of a polygraph test to be constitutional. We hold the State must adopt guidelines for this phase of polygraph testing in order to comply with the Thorne requirement against standardless, boundless inquiries.
II
Equal Protection
O'Hartigan argues that RCW 49.44.120, which authorizes use of the polygraph for law enforcement agencies, violates her right to equal protection. We disagree.
RCW 49.44.120 provides in pertinent part:
It shall be unlawful for any person, firm, corporation or the state of Washington, its political subdivisions or municipal corporations to require, directly or indirectly, that any employee or prospective employee take or be subjected to any he detector or similar tests as a condition of employment or continued employment: Provided, That this section shall not apply to persons making initial application for employment with any law enforcement agency . . ..
Both the fourteenth amendment to the United States Constitution and article 1, section 12 of the Washington State Constitution require equal protection under the law and prohibit unjustifiable statutory classifications. Our constitutional guaranties to equal protection mean that "all persons similarly situated should be treated alike." Cleburne v. Cleburne Living Ctr., Inc., 473 U.S. 432, 439, 87 L. Ed. 2d 313, 105 S. Ct. 3249 (1985); In re Knapp, 102 Wn.2d 466, 687 P.2d 1145 (1984).
*122O'Hartigan contends that RCW 49.44.120 violates equal protection by treating initial applicants to law enforcement agencies differently from all other job applicants. Namely, the class of nonlaw enforcement job applicants is protected from preemployment polygraph screening while law enforcement job applicants do not receive this protection.
At the threshold of an equal protection determination, the court must identify the appropriate standard of review. In re Borders, 114 Wn.2d 171, 786 P.2d 789 (1990). The rational basis test applies when the challenged classification involves neither a fundamental right nor a suspect classification; a distinction is valid under the rational basis standard if it advances a legitimate state interest. Borders, at 176.
The classification in RCW 49.44.120 applies to all initial applicants to law enforcement agencies. It is not based upon race, national origin, or status of citizenship; thus, there is no "suspect" classification. Neither this court nor the United States Supreme Court has recognized the interest in nondisclosure of personal information as a fundamental right, as is the interest in autonomy. We therefore apply a rational basis test to the statute and test whether the challenged classification advances a legitimate governmental interest. Under this minimum scrutiny standard of review, a presumption of constitutionality exists for the statute in question. Skagit Motel v. Department of Labor & Indus., 107 Wn.2d 856, 860, 734 P.2d 478 (1987).
A legislative distinction will withstand a minimum scrutiny analysis if, first, all members of the class are treated alike; second, there is a rational basis for treating differently those within and without the class; and third, the classification is rationally related to the purpose of the legislation. Ford Motor Co. v. Barrett, 115 Wn.2d 556, 800 P.2d 367 (1990). In this case, members of the class of initial applicants for positions with law enforcement agencies are treated alike. We therefore proceed to the second question, whether there is a reasonable basis for treating members of *123the class differently from those outside the class. In this regard, we have observed that there is a valid reason for treating law enforcement job applicants differently due to the sensitive information accessible to employees (even nonofficers), and the unique potential dangers inherent to compromised intelligence during ongoing criminal investigations and other law enforcement activities. Law enforcement agencies are in an adversarial relationship with the criminal element of society. We have already concluded the State Patrol has a legitimate interest in ensuring a high level of trustworthiness and personal integrity among its employees. Further, we reject the argument that the State Legislature had no rational basis for treating law enforcement agencies more strictly than other state agencies or private employers. Law enforcement personnel perform work of a distinct nature. This court has previously observed that the work of law enforcement is of a highly sensitive nature; that agencies must be free from corruption and employ persons of integrity if they are to function effectively. See Seattle Police Officers' Guild v. Seattle, 80 Wn.2d 307, 494 P.2d 485 (1972).
Turning to the third part of the test, we hold that the classification in question is reasonably related to the purpose of the challenged statute. RCW 49.44.120 generally prohibits the use of nonconsensual polygraph testing of employees or prospective employees as a condition of hiring or continued employment. The purpose of this labor regulation statute is to curtail the use of polygraph testing in employment. The Legislature determined, however, that in some employment contexts polygraph testing was justifiable. There are three exceptions to the statute's prohibitions: the statute does not apply to initial applicants to law enforcement agencies, current or prospective employees of the controlled substances industry, and persons "in sensitive positions directly involving national security." RCW 49.44.120. There are legitimate reasons for excluding these groups from the statute. It is evident the Legislature sought to allow added safeguards *124against corruption in these certain areas of employment. In curtailing the use of polygraph testing, the Legislature's determination not to effect an absolute ban is still consistent with the purpose of the statute. Therefore, the classification may be said to be related to the purpose of the statute. Furthermore, it is not necessary for the Legislature to include every field of work in which corruption is a special danger in its allowance for polygraph testing, or not allow polygraph testing at all. Rather, the Legislature may select areas of immediately identifiable concern in allowing polygraph testing. "It is no requirement of equal protection that all evils of the same genus be eradicated or none at all." Railway Express Agency, Inc. v. New York, 336 U.S. 106, 110, 93 L. Ed. 533, 69 S. Ct. 463 (1949).
Since the State has a legitimate basis for the classification employed in RCW 49.44.120, and the classification is reasonable and related to the purpose of the legislation, we hold that RCW 49.44.120 withstands an equal protection challenge.
Conclusion
The right to nondisclosure of personal matters is a valued right meriting constitutional protection. However, the right is not absolute. Where the State has a legitimate governmental interest, some intrusion upon that right may be justified. We have recognized that the State Patrol has a legitimate interest in ensuring that prospective law enforcement employees are of the highest moral and ethical character possible. We hold this interest is sufficient to justify the polygraph's intrusion upon O'Hartigan's right to privacy, subject to guidelines. We also hold that RCW 49.44.120 does not violate an individual's right to equal protection and thus reverse the trial court. In this case, the State Patrol's interest in polygraph testing in order to prevent corruption and maintain standards of integrity sufficiently outweighs O'Hartigan's privacy interest. Consequently, we hold there is no violation of her rights to *125privacy or equal protection and reverse the order of the trial court.
Dore, C.J., and Brachtenbach, Dolliver, Andersen, and Durham, JJ., concur.