MarkNenadov / HaveIBeenKwned

A Kotlin interface to the haveibeenpwned.com API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HaveIBeenKwned

A Kotlin interface to the haveibeenpwned.com API (https://haveibeenpwned.com/).

NOTE: This project is broken until support for V3 API is introduced.

Service

interface HaveIBeenPwnedService {
    fun isPasswordPwned(password: String): Boolean
    fun isHashPwned(passwordHash: String): Boolean
    fun getBreaches() : List<Breach>
    fun getBreaches(emailAddress: String) : List<Breach>
    fun getVersion(): Int
}

Releases

About

A Kotlin interface to the haveibeenpwned.com API

License:GNU Lesser General Public License v2.1


Languages

Language:Kotlin 100.0%