# reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::PrivatePasswordLeakVerification (v1.11.0)

1.11.0 (latest) 1.9.1 1.8.0 1.7.1 1.6.0 1.5.1 1.4.1 1.3.0 1.2.0 1.1.0 1.0.0 0.22.0 0.21.0 0.20.1 0.19.0 0.18.0 0.17.3 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 0.8.0 0.7.1 Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::PrivatePasswordLeakVerification.

Private password leak verification info.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #encrypted_leak_match_prefixes

    def encrypted_leak_match_prefixes() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. List of prefixes of the encrypted potential password leaks that matched the given parameters. They must be compared with the client-side decryption prefix of `reencrypted_user_credentials_hash`

### #encrypted_user_credentials_hash

    def encrypted_user_credentials_hash() -> ::String

**Returns**

- (::String) --- Optional. Encrypted Scrypt hash of the canonicalized username+password. It is re-encrypted by the server and returned through `reencrypted_user_credentials_hash`.

### #encrypted_user_credentials_hash=

    def encrypted_user_credentials_hash=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Encrypted Scrypt hash of the canonicalized username+password. It is re-encrypted by the server and returned through `reencrypted_user_credentials_hash`.
**Returns**

- (::String) --- Optional. Encrypted Scrypt hash of the canonicalized username+password. It is re-encrypted by the server and returned through `reencrypted_user_credentials_hash`.

### #lookup_hash_prefix

    def lookup_hash_prefix() -> ::String

**Returns**

- (::String) --- Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized username. It is used to look up password leaks associated with that hash prefix.

### #lookup_hash_prefix=

    def lookup_hash_prefix=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized username. It is used to look up password leaks associated with that hash prefix.
**Returns**

- (::String) --- Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized username. It is used to look up password leaks associated with that hash prefix.

### #reencrypted_user_credentials_hash

    def reencrypted_user_credentials_hash() -> ::String

**Returns**

- (::String) --- Output only. Corresponds to the re-encryption of the `encrypted_user_credentials_hash` field. It is used to match potential password leaks within `encrypted_leak_match_prefixes`.